From e9f8083097a8d4b247e41c629e4822400136e803 Mon Sep 17 00:00:00 2001 From: long <515897141@qq.com> Date: 星期二, 26 十月 2021 11:15:08 +0800 Subject: [PATCH] 修复switch禁用为disabled(不是disable) --- src/pages/demo/index.vue | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/pages/demo/index.vue b/src/pages/demo/index.vue index 3e6dd75..11688f3 100644 --- a/src/pages/demo/index.vue +++ b/src/pages/demo/index.vue @@ -49,7 +49,7 @@ <el-table-column label="瑙掕壊鍚嶇О" prop="name" align="center" min-width="120" /> <el-table-column label="鏄惁涓婃灦" prop="isUp" align="center" min-width="100"> <template slot-scope="scope"> - <!-- 鏉冮檺鍒ゆ柇 :disable="!getAuthValueFN('xxx_edit')" --> + <!-- 鏉冮檺鍒ゆ柇 :disabled="!getAuthValueFN('xxx_edit')" --> <el-switch v-model="scope.row.isUp" :active-value="1" -- Gitblit v1.8.0