admin/src/components/base/BaseOpera.vue
@@ -66,9 +66,13 @@ // 调用新建接口 this.isWorking = true this.api.create(this.form) .then(() => { .then((res) => { this.visible = false this.$tip.apiSuccess('新建成功') if (res && res.length > 8) { this.$tip.apiSuccess(res) } else { this.$tip.apiSuccess('新建成功') } this.$emit('success') }) .catch(e => {