|
@@ -71,10 +71,16 @@ export default {
|
|
|
//仍需验证标签明细是否选择
|
|
|
let type = this.dataPub.region1,name=this.dataPub.region2;
|
|
|
let detailLis = utils.orderTemplateData(this.sendIds)
|
|
|
- console.log(detailLis)
|
|
|
+ // console.log(detailLis)
|
|
|
if (JSON.stringify(this.sendIds) == '[]' || !detailLis) {
|
|
|
this.$message({
|
|
|
- message: '请选择模板内容',
|
|
|
+ message: '模板至少包含一个标签池标签',
|
|
|
+ type: 'warning'
|
|
|
+ });
|
|
|
+ return;
|
|
|
+ }else if(detailLis[0].text == '' && detailLis[0].questionId == ''){
|
|
|
+ this.$message({
|
|
|
+ message: '保存模版时,无法保存单独的输入栏',
|
|
|
type: 'warning'
|
|
|
});
|
|
|
return;
|