refactor(user/index.vue): 用户界面优化
This commit is contained in:
@@ -101,7 +101,7 @@ import '@/permission'
|
||||
|
||||
|
||||
import Pagination from '@/components/Pagination/index.vue'
|
||||
import {getDictItemsByCode} from '@/api/system/dict'
|
||||
import {listDictsByCode} from '@/api/system/dict'
|
||||
|
||||
|
||||
const app = createApp(App)
|
||||
@@ -113,7 +113,7 @@ for (let iconName in ElIconModules) {
|
||||
}
|
||||
|
||||
// 全局方法
|
||||
app.config.globalProperties.$getDictItemsByCode = getDictItemsByCode
|
||||
app.config.globalProperties.$listDictsByCode = listDictsByCode
|
||||
app.component('Pagination', Pagination) // 全局组件
|
||||
.use(store)
|
||||
.use(router)
|
||||
|
||||
Reference in New Issue
Block a user