From d12fb8a12bc27fedc399fb5b71c8383ccfd4a8c4 Mon Sep 17 00:00:00 2001
From: clay <20932067@zju.edu.cn>
Date: Thu, 23 May 2024 20:28:46 +0800
Subject: [PATCH] =?UTF-8?q?fix=20:=20=E7=94=A8=E6=88=B7nickname=E6=9F=A5?=
=?UTF-8?q?=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/system/user/index.vue | 15 ++++++++++++---
vite.config.js | 7 +++++++
2 files changed, 19 insertions(+), 3 deletions(-)
diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue
index 9ed57b2..647a633 100644
--- a/src/views/system/user/index.vue
+++ b/src/views/system/user/index.vue
@@ -53,6 +53,15 @@ const searchConfig = ref([
clearable: true
}
},
+ {
+ label: '用户名称',
+ prop: 'nickName',
+ component: 'el-input',
+ props: {
+ placeholder: '请输入',
+ clearable: true
+ }
+ },
{
label: '状态',
prop: 'state',
@@ -125,7 +134,7 @@ const tableConfig = reactive({
handleDel(row)}>删除 :
null
}
-
+
)
}
@@ -182,7 +191,7 @@ const handleDel = (row) => {
confirmButtonText: '确定',
cancelButtonText: '取消'
}).then(async res => {
- // const { code } = await
+ // const { code } = await
}).catch(()=>{})
}
@@ -196,4 +205,4 @@ const headBtnClick = (key) => {
\ No newline at end of file
+
diff --git a/vite.config.js b/vite.config.js
index da93391..b418a81 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -75,6 +75,13 @@ export default defineConfig({
changeOrigin: true,
rewrite: (path) => path.replace(/^\/api/, '')
},
+ '/api/admin': {
+ // target: 'http://frp.feashow.cn:31800/',
+ target: 'http://clay.frp.feashow.cn/',
+ // target: 'http://192.168.31.175:8000',
+ changeOrigin: true,
+ rewrite: (path) => path.replace(/^\/api/, '')
+ },
'/api': {
target: 'http://mosr.feashow.cn',
changeOrigin: true,