瀏覽代碼

单选答案显示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);
     },