瀏覽代碼

大日历删除按钮增加权限

xuxingan 3 年之前
父節點
當前提交
f024e503cb
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      src/pages/main/fullcalendar/calendar.vue

+ 3 - 1
src/pages/main/fullcalendar/calendar.vue

@@ -39,7 +39,6 @@
         width="30%"
         center
         :modal-append-to-body="false"
-        :disabled="auth ? false : 'disabled'"
       >
         <span>是否确定删除</span>
 
@@ -729,6 +728,9 @@ export default {
     },
     //悬停窗体删除按钮
     delxuan() {
+        if (!this.auth) {
+            return;
+        }
       this.delStatus = true;
     },
     // 点击日历