zhaolf hace 3 años
padre
commit
5199fda826

+ 1 - 1
src/pages/brand/addBrand/index.vue

@@ -239,7 +239,7 @@
                         add(params).then(() => {
                             this.$message.success('申请成功');
                             store.commit('REMOVETAB', '品牌申请')
-                            this.$router.go(-1)
+                            this.$router.push('/brand')
                         }).catch(() => {
                             this.loading = false
                         });

+ 1 - 1
src/pages/goods/addGoods/index.vue

@@ -195,7 +195,7 @@
                             add(params).then(() => {
                                 this.$message.success('添加成功');
                                 store.commit('REMOVETAB', '商品信息')
-                                this.$router.go(-1)
+                                this.$router.push('/goods')
                             }).catch(() => {
                                 this.loading = false
                             });

+ 1 - 1
src/pages/qualification/addCategory/index.vue

@@ -126,7 +126,7 @@
                         add(params).then(() => {
                             this.$message.success('添加成功');
                             store.commit('REMOVETAB', '资质申请')
-                            this.$router.go(-1)
+                            this.$router.push('/qualification')
                         }).catch(() => {
                             this.loading = false
                         });