Browse Source

修改问题

tangning 1 year ago
parent
commit
b8c6ae6f68
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/views/empower/detailModel.vue

+ 1 - 2
src/views/empower/detailModel.vue

@@ -21,7 +21,6 @@
                 :actions="[
                 :actions="[
                   {
                   {
                     label: '更换',
                     label: '更换',
-                    ifShow: getCheckPerm('empowerCamera-change'),
                     onClick: handleUpdataSn.bind(null, record, 'edit'),
                     onClick: handleUpdataSn.bind(null, record, 'edit'),
                   },
                   },
                 ]"
                 ]"
@@ -92,7 +91,7 @@
         {
         {
           title: t('common.operating'),
           title: t('common.operating'),
           dataIndex: 'action',
           dataIndex: 'action',
-          ifShow: getCheckPerm('account-equityCameraUnbind'),
+          ifShow: getCheckPerm('empowerCamera-change'),
           slots: { customRender: 'action' },
           slots: { customRender: 'action' },
           align: 'center',
           align: 'center',
           fixed: 'right',
           fixed: 'right',