|
@@ -101,12 +101,12 @@ export default {
|
|
|
const msg = getExpStr(text);
|
|
|
const msgp = getExpStr(textp);
|
|
|
if(result[i].select){
|
|
|
- if(!result[i].value){
|
|
|
- this.$emit("warning","选中项输入框必填");
|
|
|
- return;
|
|
|
- }
|
|
|
subQas = subQas+","+result[i].subQuestion;
|
|
|
if(result[i].name.indexOf("${")!==-1){
|
|
|
+ if(!result[i].value){
|
|
|
+ this.$emit("warning","选中项输入框必填");
|
|
|
+ return;
|
|
|
+ }
|
|
|
tmpResult.push(msg.prefix+(result[i].value||"")+msg.suffix);
|
|
|
tmpResultp.push(msgp.prefix+(result[i].value||"")+msgp.suffix);
|
|
|
}else {
|