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,