|
@@ -174,12 +174,17 @@
|
|
|
})
|
|
|
});*/
|
|
|
const h = this.$createElement;
|
|
|
+ const {isEdit} = this.$route.params;
|
|
|
+ const addMsg = h('div',{style:'padding-bottom:10px'},[
|
|
|
+ h('p',{style:'font-size:15px;margin-bottom:10px'},'是否保存该标签?')
|
|
|
+ ])
|
|
|
+ const modMsg = h('div',{style:'padding-bottom:10px'},[
|
|
|
+ h('p',{style:'font-size:15px;margin-bottom:10px'},'是否保存该标签?'),
|
|
|
+ h('span',{style:'color:red;font-size:12px'},'若标签系统名称已经改变,请去别名维护中修改相关信息'),
|
|
|
+ ])
|
|
|
this.$msgbox({
|
|
|
title:'提示',
|
|
|
- message:h('div',{style:'padding-bottom:10px'},[
|
|
|
- h('p',{style:'font-size:15px;margin-bottom:10px'},'是否保存该标签?'),
|
|
|
- h('span',{style:'color:red;font-size:12px'},'标签系统名称已经改变,请去别名维护中修改相关信息'),
|
|
|
- ]),
|
|
|
+ message:isEdit?modMsg:addMsg,
|
|
|
showCancelButton: true,
|
|
|
distinguishCancelAndClose:true,
|
|
|
confirmButtonText: '确认并前往别名维护',
|