fix: user 暂存
This commit is contained in:
@@ -191,6 +191,14 @@ const init = async () => {
|
|||||||
localData.roleOpt = roleRes.data
|
localData.roleOpt = roleRes.data
|
||||||
const jobRes = await getJobOpt()
|
const jobRes = await getJobOpt()
|
||||||
localData.jobOpt = jobRes.data
|
localData.jobOpt = jobRes.data
|
||||||
|
// const reqList = [
|
||||||
|
// getDeptOpt(),
|
||||||
|
// getSubCompOpt(),
|
||||||
|
// getRolesOpt(),
|
||||||
|
// getJobOpt()
|
||||||
|
// ]
|
||||||
|
// const resAll = await Promise.all(reqList)
|
||||||
|
// console.log("🚀 ~ init ~ resAll:", resAll)
|
||||||
}
|
}
|
||||||
|
|
||||||
const getInfo = async () => {
|
const getInfo = async () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user