citygis-lhh hace 3 semanas
padre
commit
6df953fb79
Se han modificado 1 ficheros con 6 adiciones y 4 borrados
  1. 6 4
      src/views/left/comp/dispose/InformationReport.vue

+ 6 - 4
src/views/left/comp/dispose/InformationReport.vue

@@ -44,9 +44,11 @@
                 :class="{ 'up-icon': data.expendFlag }"
                 @click="data.expendFlag = !data.expendFlag"
               ></div>
-              <span class="text-box">{{
-                !data.expendFlag ? "展开" : "收起"
-              }}</span>
+              <span
+                class="text-box"
+                @click="data.expendFlag = !data.expendFlag"
+                >{{ !data.expendFlag ? "展开" : "收起" }}</span
+              >
             </div>
           </div>
         </template>
@@ -348,13 +350,13 @@ onMounted(() => {
         display: flex;
         justify-content: center;
         align-items: center;
-        cursor: pointer;
         .icon-box {
           width: 25px;
           height: 25px;
           background-image: url("../../../../assets/img/a-shouqi1 1@2x.png");
           background-size: 100% 100%;
           transform: rotate(-90deg);
+          cursor: pointer;
         }
         .up-icon {
           transform: rotate(90deg);