Pārlūkot izejas kodu

修改按钮权限

yangg 3 dienas atpakaļ
vecāks
revīzija
f79714030c

+ 1 - 1
src/views/system/allusers/crud.tsx

@@ -113,7 +113,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show:true,// auth('area:Create'),
 					},
 					/* batchExport: {
 						text: '批量导出',

+ 1 - 1
src/views/system/deviceclass/crud.tsx

@@ -62,7 +62,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},

+ 1 - 1
src/views/system/devicelabel/crud.tsx

@@ -42,7 +42,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},

+ 1 - 1
src/views/system/devicemaintenance/crud.tsx

@@ -47,7 +47,7 @@ export const createCrudOptions = function ({ crudExpose,  dialogId,
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},

+ 1 - 1
src/views/system/devicepreserve/crud.tsx

@@ -44,7 +44,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},

+ 1 - 1
src/views/system/devicepreserveplan/crud.tsx

@@ -42,7 +42,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},

+ 1 - 1
src/views/system/storelist/crud.tsx

@@ -31,7 +31,7 @@ export const createCrudOptions = function ({ crudExpose }: CreateCrudOptionsProp
 			actionbar: {
 				buttons: {
 					add: {
-						show: auth('area:Create'),
+						show: true,//auth('area:Create'),
 					},
 				},
 			},