修改清单的提示

This commit is contained in:
yanyizhou
2021-08-20 09:54:00 +08:00
parent d1fd8405f9
commit 47237dc917
2 changed files with 8 additions and 6 deletions
@@ -1360,11 +1360,11 @@ export default {
loading: 'loadData' loading: 'loadData'
}, res => { }, res => {
if (res.ok) { if (res.ok) {
if(res.message === '修改成功'){
this.$router.push({ this.$router.push({
name: 'AccessStandardsAndRegulations' name: 'AccessStandardsAndRegulations'
}) })
} }else {
this.$message.error('已存在此国家/地区清单,修改失败')
} }
}, e => { }, e => {
}) })
@@ -1289,10 +1289,12 @@ export default {
loading: 'loadData' loading: 'loadData'
}, res => { }, res => {
if (res.ok) { if (res.ok) {
this.isNext = true this.isNext = true
this.$router.push({ this.$router.push({
name: 'AccessStandardsAndRegulations' name: 'AccessStandardsAndRegulations'
}) })
}else {
this.$message.error('已存在此车型类别清单,修改失败')
} }
}, e => { }, e => {
}) })