update 获取账号初始密码

This commit is contained in:
1023byte 2023-07-18 15:44:27 +08:00
parent c195292d2c
commit 53a5768676

View File

@ -424,6 +424,12 @@ const getList = async () => {
total.value = res.total;
}
/** 查询账号初始密码 */
const getInitPassword = async () => {
const res = await proxy?.getConfigKey('sys.user.initPassword');
initPassword.value = res?.msg === undefined ? '123456' : res.msg;
}
/** 节点单击事件 */
const handleNodeClick = (data: DeptVO) => {
queryParams.value.deptId = data.id;
@ -618,6 +624,7 @@ const resetForm = () => {
onMounted(() => {
getTreeSelect() //
getList() //
getInitPassword() //
});
</script>