dedsudiyu 1 ヶ月 前
コミット
e655edfd29
共有1 個のファイルを変更した3 個の追加0 個の削除を含む
  1. 3 0
      src/views/courtyardManage/courtyardHome.vue

+ 3 - 0
src/views/courtyardManage/courtyardHome.vue

@@ -240,6 +240,9 @@
       /**V3新--------------start----**/
       // 切换轮播
       checkedNumButton(type) {
+        if(!this.deptId){
+          return
+        }
         if (type != this.checkedNum) {
           this.$set(this, 'checkedNum', type)
           this.$set(this.$refs['el-carousel'], 'activeIndex', type)