From b989b071212e6616d0d3601e197917b075de2e78 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=96=AF=E7=8B=82=E7=9A=84=E7=8B=AE=E5=AD=90Li?= <15040126243@163.com> Date: Mon, 9 Oct 2023 11:19:32 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E4=BC=98=E5=8C=96=20=E7=94=A8?= =?UTF-8?q?=E6=88=B7=E5=88=9D=E5=A7=8B=E5=AF=86=E7=A0=81=E4=BB=8E=E5=8F=82?= =?UTF-8?q?=E6=95=B0=E9=85=8D=E7=BD=AE=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/system/user/index.vue | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/views/system/user/index.vue b/src/views/system/user/index.vue index 284d941..3dbb083 100644 --- a/src/views/system/user/index.vue +++ b/src/views/system/user/index.vue @@ -320,7 +320,7 @@ const total = ref(0); const dateRange = ref<[DateModelType, DateModelType]>(['', '']); const deptName = ref(''); const deptOptions = ref([]); -const initPassword = ref('123456'); +const initPassword = ref(''); const postOptions = ref([]); const roleOptions = ref([]); /*** 用户导入参数 */ @@ -613,6 +613,9 @@ const resetForm = () => { onMounted(() => { getTreeSelect() // 初始化部门数据 getList() // 初始化列表数据 + proxy?.getConfigKey("sys.user.initPassword").then(response => { + initPassword.value = response.data; + }); });