update list response

此提交包含在:
lb
2022-08-04 14:41:47 +08:00
父節點 d3752c4f40
當前提交 3df2939fb4
共有 33 個檔案被更改,包括 79 行新增76 行删除

查看文件

@@ -92,7 +92,7 @@ router.beforeEach((to, from, next) => {
return next()
}
// 获取字典列表, 添加并全局变量保存
http.get('/sys/dict/type/all').then(({ data: res }) => {
http.get(http.adornUrl('/sys/dict/type/all')).then(({ data: res }) => {
if (res.code !== 0) {
return
}
@@ -101,7 +101,7 @@ router.beforeEach((to, from, next) => {
// console.log("catch /sys/dict/type/all", err)
})
// 获取菜单列表, 添加并全局变量保存
http.get('/sys/menu/nav').then(({ data: res }) => {
http.get(http.adornUrl('/sys/menu/nav')).then(({ data: res }) => {
if (res.code !== 0) {
Vue.prototype.$message.error(res.msg)
return next({ name: 'login' })