浏览代码

其他不适不显示展开按钮

zhouna 5 年之前
父节点
当前提交
82de33b339
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/Symptom.vue

+ 1 - 1
src/components/Symptom.vue

@@ -39,7 +39,7 @@
           @touchstart.stop.prevent="touchstart(it)"
           @touchend.stop.prevent="touchend(it)"
         >{{it.description || it.name}}</span>
-        <p class="show-all" @click="showAllLabel">{{showAll?"收起":"展开全部"}}</p>
+        <p class="show-all" v-if="chooseSymp.length===0" @click="showAllLabel">{{showAll?"收起":"展开全部"}}</p>
         <p class="tip" v-show="chooseSymp.length==0">长按症状按钮可显示症状解释说明</p>
       </div>
       <div