Explorar o código

其他不适不显示展开按钮

zhouna %!s(int64=5) %!d(string=hai) anos
pai
achega
82de33b339
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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