update 获取账号初始密码
This commit is contained in:
parent
c195292d2c
commit
53a5768676
@ -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>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user