diff --git a/.env.development b/.env.development index c6f3ed1..24e61f8 100644 --- a/.env.development +++ b/.env.development @@ -5,8 +5,8 @@ VITE_APP_TITLE = 云平台管理系统 VITE_APP_ENV = 'development' # 开发环境 - VITE_APP_BASE_API = 'http://47.120.79.150/backend' - #VITE_APP_BASE_API = 'http://192.168.2.23:8000' + #VITE_APP_BASE_API = 'https://fuyuanshen.com/backend' + VITE_APP_BASE_API = 'http://192.168.2.34:8000' #代永飞接口 #VITE_APP_BASE_API = 'http://457102h2d6.qicp.vip:24689' diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue index ebc30d0..c50d020 100644 --- a/src/layout/components/Navbar.vue +++ b/src/layout/components/Navbar.vue @@ -20,7 +20,7 @@
-
{{ useUserStore().nickname }}
+
{{ useUserStore().nickname }}
@@ -294,11 +239,9 @@ import { UserForm, UserQuery, UserVO } from '@/api/system/user/types'; import { DeptTreeVO, DeptVO } from '@/api/system/dept/types'; import { RoleVO } from '@/api/system/role/types'; import { PostQuery, PostVO } from '@/api/system/post/types'; -import { treeselect } from '@/api/system/dept'; import { globalHeaders } from '@/utils/request'; import { to } from 'await-to-js'; import { optionselect } from '@/api/system/post'; -import { hasPermi } from '@/directive/permission'; import { checkPermi } from '@/utils/permission'; const router = useRouter(); @@ -362,10 +305,7 @@ const initFormData: UserForm = { nickName: undefined, password: '', phonenumber: undefined, - email: undefined, - sex: undefined, status: '0', - remark: '', postIds: [], roleIds: [] }; @@ -402,13 +342,6 @@ const initData: PageData = { }, { pattern: /^[^<>"'|\\]+$/, message: '不能包含非法字符:< > " \' \\ |', trigger: 'blur' } ], - email: [ - { - type: 'email', - message: '请输入正确的邮箱地址', - trigger: ['blur', 'change'] - } - ], phonenumber: [ { pattern: /^1[3|4|5|6|7|8|9][0-9]\d{8}$/,