微调
This commit is contained in:
@@ -23,8 +23,7 @@ import { adminBaseRoutePath } from '@/router/static'
|
||||
import { getRouteMenu, dictDataCache } from '@/api/auth'
|
||||
import { getAreaList, areaSelect } from '@/api/common'
|
||||
import { BasicDictData } from '@/stores/interface'
|
||||
import { getUserById } from '@/api/user-boot/user'
|
||||
import { getUserSimpleList } from '@/api/user-boot/user'
|
||||
import { getAllUserSimpleList, getUserById } from '@/api/user-boot/user'
|
||||
|
||||
defineOptions({
|
||||
components: { Default, Classic, Streamline, Double }
|
||||
@@ -52,7 +51,7 @@ onBeforeMount(() => {
|
||||
})
|
||||
|
||||
const init = async () => {
|
||||
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect(),getUserSimpleList()]).then(res => {
|
||||
await Promise.all([getAreaList(), dictDataCache(), getUserById(), areaSelect(),getAllUserSimpleList()]).then(res => {
|
||||
dictData.state.area = res[0].data
|
||||
dictData.state.basic = res[1].data
|
||||
dictData.state.userList=res[4].data
|
||||
|
||||
Reference in New Issue
Block a user