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"