Commit 61153f91 authored by xhx's avatar xhx

新增文本

parent 4919dd3d
...@@ -139,7 +139,11 @@ export default Vue.extend({ ...@@ -139,7 +139,11 @@ export default Vue.extend({
console.log(v, 'v') console.log(v, 'v')
live.updateLive(v).then((res: any) => { live.updateLive(v).then((res: any) => {
if (res.code === 200) { if (res.code === 200) {
message.success('更新成功') if (this.type === 'add') {
message.success('新增成功')
} else {
message.success('更新成功')
}
this.getList() this.getList()
} }
}) })
......
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