Commit d4b7b2b8 authored by sgjj's avatar sgjj

修复问题

parent 36ff8a02
...@@ -212,6 +212,12 @@ ...@@ -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 @@ ...@@ -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({
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment