diff --git a/.env.production b/.env.production index 67add94..e2c31c4 100644 --- a/.env.production +++ b/.env.production @@ -2,7 +2,7 @@ VITE_USE_MOCK = false # 发布路径 -VITE_PUBLIC_PATH = /nu0010507 +VITE_PUBLIC_PATH = /biz101 # 是否启用gzip或brotli压缩 # 选项值: gzip | brotli | none @@ -13,10 +13,10 @@ VITE_BUILD_COMPRESS = 'gzip' VITE_BUILD_COMPRESS_DELETE_ORIGIN_FILE = false #后台接口父地址(必填) -VITE_GLOB_API_URL=/nursingunit001 +VITE_GLOB_API_URL=/nursingunit101 #后台接口全路径地址(必填) -VITE_GLOB_DOMAIN_URL=https://www.focusnu.com/nursingunit001 +VITE_GLOB_DOMAIN_URL=https://www.focusnu.com/nursingunit101 # 接口父路径前缀 VITE_GLOB_API_URL_PREFIX= diff --git a/mock/sys/user.ts b/mock/sys/user.ts index 34175e7..e2294c4 100644 --- a/mock/sys/user.ts +++ b/mock/sys/user.ts @@ -8,7 +8,7 @@ export function createFakeUserList() { realname: '管理员', avatar: 'https://q1.qlogo.cn/g?b=qq&nk=190848757&s=640', desc: 'manager', - password: '123456', + password: '', token: 'fakeToken1', homePath: '/dashboard/analysis', roles: [ @@ -21,7 +21,7 @@ export function createFakeUserList() { { userId: '2', username: 'jeecg', - password: '123456', + password: '', realname: '测试用户', avatar: 'https://q1.qlogo.cn/g?b=qq&nk=339449197&s=640', desc: 'tester', diff --git a/src/views/demo/page/form/step/data.tsx b/src/views/demo/page/form/step/data.tsx index de4c98e..a1117e0 100644 --- a/src/views/demo/page/form/step/data.tsx +++ b/src/views/demo/page/form/step/data.tsx @@ -58,6 +58,6 @@ export const step2Schemas: FormSchema[] = [ component: 'InputPassword', label: '支付密码', required: true, - defaultValue: '123456', + defaultValue: '', }, ]; diff --git a/src/views/system/tenant/components/TenantUserDrawer.vue b/src/views/system/tenant/components/TenantUserDrawer.vue index 63223c9..f4ecb79 100644 --- a/src/views/system/tenant/components/TenantUserDrawer.vue +++ b/src/views/system/tenant/components/TenantUserDrawer.vue @@ -70,7 +70,7 @@ if (!data.username) { data.username = data.phone; } - data.password = '123456'; + data.password = ''; confirmLoading.value = true; await saveOrUpdateTenantUser(data, isUpdate.value); confirmLoading.value = false; diff --git a/tests/server/service/UserService.ts b/tests/server/service/UserService.ts index da61628..05a82ea 100644 --- a/tests/server/service/UserService.ts +++ b/tests/server/service/UserService.ts @@ -5,7 +5,7 @@ const fakeUserInfo = { username: 'Jeecg', realname: 'Jeecg Admin', desc: 'manager', - password: '123456', + password: '', token: 'fakeToken1', roles: [ {