zhouna 5 лет назад
Родитель
Сommit
b7e2bc3835
2 измененных файлов с 2 добавлено и 2 удалено
  1. 1 1
      src/common/MultSelect.vue
  2. 1 1
      src/common/Select.vue

+ 1 - 1
src/common/MultSelect.vue

@@ -110,7 +110,7 @@ export default {
         const text=result[i].name;
         const textp=result[i].description||result[i].name;
         const msg = getExpStr(text);
-        const msgp = getExpStr(text);
+        const msgp = getExpStr(textp);
         if(result[i].name.indexOf("${")!==-1){
           if(result[i].value){
             tmpResult.push(msg.prefix+(result[i].value||"")+msg.suffix);

+ 1 - 1
src/common/Select.vue

@@ -99,7 +99,7 @@ export default {
           const text=result[i].name;
           const textp=result[i].description||result[i].name;
           const msg = getExpStr(text);
-          const msgp = getExpStr(text);
+          const msgp = getExpStr(textp);
           if(result[i].select){
             subQas = subQas+","+result[i].subQuestion;
             if(result[i].name.indexOf("${")!==-1){