long
2022-02-28 b350757df151c04f22d040eac001cb479d4a4776
src/pages/demo/index.vue
@@ -8,7 +8,7 @@
      <el-form-item label="角色名称">
        <el-input
          v-model="keyWord"
          placeholder="请输入角色名称"
          placeholder="搜索角色名称"
          clearable
          size="small"
          style="width: 240px"
@@ -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"