File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " vuecmf" ,
3
- "version" : " 2.5.0 " ,
3
+ "version" : " 2.5.1 " ,
4
4
"private" : true ,
5
5
"description" : " VueCMF是一款完全开源免费的内容管理快速开发框架。2.1+版本使用vue3、Element Plus和TypeScript构建,后端API基于Go/PHP开发。可用于快速开发CMS、CRM、WMS、OMS、ERP等管理系统,开发简单、高效易用,极大减少系统的开发周期和研发成本!甚至不用写一行代码使用VueCMF就能设计出功能强大的后台管理系统。" ,
6
6
"author" : " vuecmf <tulihua2004@126.com>" ,
23
23
"vue" : " ^3.3.4" ,
24
24
"vue-router" : " ^4.2.4" ,
25
25
"vue-vuecmf-dialog" : " ^1.4.9" ,
26
- "vue3-vuecmf-table" : " ^1.26.0 " ,
26
+ "vue3-vuecmf-table" : " ^1.26.1 " ,
27
27
"vuex" : " ^4.1.0"
28
28
},
29
29
"devDependencies" : {
Original file line number Diff line number Diff line change 11
11
active-text-color =" #409EFF"
12
12
@select =" selectMainMenu"
13
13
>
14
- <el-menu-item :index =" item.mid" :key =" key" v-for =" (item,key) in nav_menu_list" >
15
- <i class =" el-icon" v-if =" item.icon" ><component :is =" item.icon" ></component ></i >
16
- <span >{{ item.title }}</span >
17
- </el-menu-item >
14
+ <template :key =" key " v-for =" (item ,key ) in nav_menu_list " >
15
+ <el-menu-item :index =" item.mid" v-if =" item.children != null" >
16
+ <i class =" el-icon" v-if =" item.icon" ><component :is =" item.icon" ></component ></i >
17
+ <span >{{ item.title }}</span >
18
+ </el-menu-item >
19
+ </template >
18
20
</el-menu >
19
21
<!-- main-menu end -->
20
22
Original file line number Diff line number Diff line change @@ -53,6 +53,9 @@ export default abstract class Model {
53
53
return Promise . reject ( config ) ;
54
54
}
55
55
} , error => {
56
+ if ( error . data == null && error . response != null ) {
57
+ return Promise . reject ( error . response . data )
58
+ }
56
59
return Promise . reject ( error . data . error . message )
57
60
} )
58
61
You can’t perform that action at this time.
0 commit comments