Commit 33fa002a by 杨北旺

修复bug

1 parent 83522017
...@@ -215,6 +215,7 @@ export default { ...@@ -215,6 +215,7 @@ export default {
if (Array.isArray(params)) { if (Array.isArray(params)) {
this.$apis.points.createSmsApi({ msgList: params }).then(res => { this.$apis.points.createSmsApi({ msgList: params }).then(res => {
if (res) { if (res) {
this.editStatus = false
this.$message({ this.$message({
message: '提交成功', message: '提交成功',
type: 'success' type: 'success'
...@@ -360,6 +361,7 @@ export default { ...@@ -360,6 +361,7 @@ export default {
const str = e ? `${name}已打开` : `${name}已关闭` const str = e ? `${name}已打开` : `${name}已关闭`
this.$apis.points.openSmsApi({ id, msgType: 1, msgNo, openType: e ? 1 : 2 }).then(res => { this.$apis.points.openSmsApi({ id, msgType: 1, msgNo, openType: e ? 1 : 2 }).then(res => {
if (res) { if (res) {
this.editStatus = false
this.$message({ this.$message({
message: str, message: str,
type: 'success' type: 'success'
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!