update 优化 用户初始密码从参数配置查询

This commit is contained in:
疯狂的狮子Li 2023-10-09 11:19:32 +08:00
parent bf957f06a0
commit b989b07121

View File

@ -320,7 +320,7 @@ const total = ref(0);
const dateRange = ref<[DateModelType, DateModelType]>(['', '']);
const deptName = ref('');
const deptOptions = ref<DeptVO[]>([]);
const initPassword = ref('123456');
const initPassword = ref<String>('');
const postOptions = ref<PostVO[]>([]);
const roleOptions = ref<RoleVO[]>([]);
/*** 用户导入参数 */
@ -613,6 +613,9 @@ const resetForm = () => {
onMounted(() => {
getTreeSelect() //
getList() //
proxy?.getConfigKey("sys.user.initPassword").then(response => {
initPassword.value = response.data;
});
});
</script>