修复问题
This commit is contained in:
parent
36ff8a02ee
commit
d4b7b2b830
|
@ -212,6 +212,12 @@
|
||||||
title: '更新成功!',
|
title: '更新成功!',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
|
}else {
|
||||||
|
that.$notify({
|
||||||
|
title: '生成失败',
|
||||||
|
message:data.msg,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
that.$notify({
|
that.$notify({
|
||||||
|
@ -236,6 +242,12 @@
|
||||||
title: '更新成功!',
|
title: '更新成功!',
|
||||||
type: 'success'
|
type: 'success'
|
||||||
});
|
});
|
||||||
|
}else {
|
||||||
|
that.$notify({
|
||||||
|
title: '生成失败!',
|
||||||
|
message:data.msg,
|
||||||
|
type: 'error'
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}).catch(function (err) {
|
}).catch(function (err) {
|
||||||
that.$notify({
|
that.$notify({
|
||||||
|
|
Loading…
Reference in New Issue