From fafaf3205b1109366c7b9769ba3f93ee16c40dd9 Mon Sep 17 00:00:00 2001
From: junleea <354425203@qq.com>
Date: Mon, 7 Apr 2025 19:41:10 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=BA=BF=E4=B8=8A=E7=AE=A1?=
=?UTF-8?q?=E7=90=86=E5=8A=9F=E8=83=BD=E6=97=A0=E6=96=B0=E5=A2=9E=E6=8C=89?=
=?UTF-8?q?=E9=92=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/manage-file.vue | 4 ++--
src/views/system/manage-function.vue | 4 +---
src/views/system/manage-model.vue | 3 +--
src/views/system/manage-session.vue | 4 +---
4 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/src/views/system/manage-file.vue b/src/views/system/manage-file.vue
index 0704e68..27e4556 100644
--- a/src/views/system/manage-file.vue
+++ b/src/views/system/manage-file.vue
@@ -5,7 +5,7 @@
- 上传文件
+ 上传文件
@@ -39,7 +39,7 @@ import TableSearch from '@/components/table-search.vue';
import UploadFile from '@/components/upload-file.vue';
import { FormOption, FormOptionList } from '@/types/form-option';
-const userRole = ref(localStorage.getItem('role') == 'admin');
+
const page = reactive({
index: 1,
size: 10,
diff --git a/src/views/system/manage-function.vue b/src/views/system/manage-function.vue
index 29fbf57..a2181a9 100644
--- a/src/views/system/manage-function.vue
+++ b/src/views/system/manage-function.vue
@@ -5,7 +5,7 @@
- 新增
+ 新增
@@ -39,8 +39,6 @@ import TableDetail from '@/components/table-detail.vue';
import TableSearch from '@/components/table-search.vue';
import { FormOption, FormOptionList } from '@/types/form-option';
-const userRole = ref(localStorage.getItem('role') == 'admin');
-
// 查询相关
const query = reactive({
name: '',
diff --git a/src/views/system/manage-model.vue b/src/views/system/manage-model.vue
index 5dc63e6..fa8394e 100644
--- a/src/views/system/manage-model.vue
+++ b/src/views/system/manage-model.vue
@@ -5,7 +5,7 @@
- 新增
+ 新增
@@ -39,7 +39,6 @@ import TableDetail from '@/components/table-detail.vue';
import TableSearch from '@/components/table-search.vue';
import { FormOption, FormOptionList } from '@/types/form-option';
-const userRole = ref(localStorage.getItem('role') == 'admin');
// 查询相关
const query = reactive({
diff --git a/src/views/system/manage-session.vue b/src/views/system/manage-session.vue
index 622978c..613d407 100644
--- a/src/views/system/manage-session.vue
+++ b/src/views/system/manage-session.vue
@@ -5,7 +5,7 @@
- 新增
+ 新增
@@ -41,8 +41,6 @@ import TableDetail from '@/components/table-detail.vue';
import TableSearch from '@/components/table-search.vue';
import { FormOption, FormOptionList } from '@/types/form-option';
-// const userRole = localStorage.getItem('role') == 'admin';
-const userRole = ref(localStorage.getItem('role') == 'admin');
const page = reactive({
index: 1,
size: 10,