long
2021-09-29 9f3f35fe52f2c95e64199557c640d2ad024c9c42
src/pages/demo/index.vue
@@ -43,7 +43,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">
          <!-- 权限判断 v-if="getAuthValueFN('xxx_edit')" -->
          <!-- 权限判断 :disable="!getAuthValueFN('xxx_edit')" -->
          <el-switch
            v-model="scope.row.isUp"
            :active-value="1"
@@ -248,7 +248,8 @@
        this.postFN({
          url: 'xxx',
          params: {
            id: item.id
            id: item.id,
            isUp: item.isUp
          },
          mockData: {
            code: 100,