tangning il y a 1 an
Parent
commit
283c38a845
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      src/views/product/rtk/list.vue

+ 4 - 4
src/views/product/rtk/list.vue

@@ -2,8 +2,8 @@
   <div>
     <BasicTable @register="registerTable">
       <template #toolbar>
-        <a-button type="primary" @click="handleEdit" v-if="getCheckPerm('algorithm-add')"
-          >授权</a-button
+        <a-button type="primary" @click="handleEdit" v-if="getCheckPerm('rtk-add')"
+          >新增</a-button
         >
       </template>
       <template #copy="{ record }">
@@ -16,13 +16,13 @@
           :actions="[
             {
               label: '编辑',
-              ifShow: getCheckPerm('algorithm-updata'),
+              ifShow: getCheckPerm('rtk-updata'),
               onClick: handleEdit.bind(null, record),
             },
             {
               label: '删除',
               color: 'error',
-              ifShow: getCheckPerm('algorithm-delete'),
+              ifShow: getCheckPerm('rtk-delete'),
               onClick: handleDelete.bind(null, record),
             },
           ]"