Преглед на файлове

单选答案显示bug修改

zhouna преди 5 години
родител
ревизия
8f45564597
променени са 1 файла, в които са добавени 2 реда и са изтрити 1 реда
  1. 2 1
      src/common/Radio.vue

+ 2 - 1
src/common/Radio.vue

@@ -81,7 +81,7 @@ export default {
           const textp=result[i].description||result[i].name;
           const text=result[i].name;
           const msg = getExpStr(text);
-          const msgp = getExpStr(text);
+          const msgp = getExpStr(textp);
           if(result[i].select){
             if(result[i].name.indexOf("${")!==-1){
               tmpResult=msg.prefix+(result[i].value||"")+msg.suffix;
@@ -98,6 +98,7 @@ export default {
           orgChoose[0].reasonP = tmpResultp||"无";
           this.$store.commit('setChoose', { choose: orgChoose, type: 1 });
         }
+        console.log(tmpResultp)
         //this.contentResult = tmpResult;
       this.$emit("updataResultSingle", this.symptomResult, {val:tmpResult||"无",valp:tmpResultp||"无",flag:this.symptomResult.flag},++number);
     },