فهرست منبع

reactor:自贡开放新增用户和新增部门;

zhangchong 3 ماه پیش
والد
کامیت
f6483b0e25
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      src/views/system/organize/index.vue
  2. 1 1
      src/views/system/user/index.vue

+ 1 - 1
src/views/system/organize/index.vue

@@ -124,7 +124,7 @@ const state = reactive<any>({
 const ruleFormRef = ref<RefType>(); // 搜索表单ref
 //  在正式上线前 先隐藏用户和部门的新增
 const showAdd = computed(() => {
-	return !['ZiGong', 'LuZhou'].includes(import.meta.env.VITE_MODE_NAME);
+	return !['LuZhou'].includes(import.meta.env.VITE_MODE_NAME);
 });
 /** 搜索按钮操作 节流操作 */
 const handleQuery = throttle(() => {

+ 1 - 1
src/views/system/user/index.vue

@@ -192,7 +192,7 @@ const state = reactive<any>({
 const ruleFormRef = ref<FormInstance>(); //表单ref
 //  在正式上线前 先隐藏用户和部门的新增
 const showAdd = computed(() => {
-	return !['ZiGong', 'LuZhou'].includes(import.meta.env.VITE_MODE_NAME);
+	return !['LuZhou'].includes(import.meta.env.VITE_MODE_NAME);
 });
 /** 搜索按钮操作 节流操作 */
 const handleQuery = () => {