Commit 14827641 authored by dragondean@qq.com's avatar dragondean@qq.com

批量加价成功后关闭当前页面

parent 65891de3
......@@ -271,8 +271,9 @@ export default {
product: this.isAllProduct ? this.$refs.productSelector.allTotal : this.form.productIdList.length
}))
this.loading = true
batchAddPrice(data).then(response => {
this.$alert(this.$t("操作成功"));
batchAddPrice(data).then(async(response) => {
await this.$alert(this.$t("操作成功"));
this.$store.dispatch("tagsView/delCurrentView")
})
.finally(res => {
this.loading = false
......
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