|
@@ -213,7 +213,7 @@
|
|
add(params).then(() => {
|
|
add(params).then(() => {
|
|
this.$message.success('添加成功');
|
|
this.$message.success('添加成功');
|
|
store.commit('SET_TABINDEX', 0)
|
|
store.commit('SET_TABINDEX', 0)
|
|
- this.$router.push('/goods')
|
|
|
|
|
|
+ this.$router.push({name:'goods',params:{checking:true}})
|
|
store.commit('REMOVETAB', '商品信息')
|
|
store.commit('REMOVETAB', '商品信息')
|
|
}).catch(() => {
|
|
}).catch(() => {
|
|
this.loading = false
|
|
this.loading = false
|
|
@@ -223,7 +223,7 @@
|
|
edit(params).then(() => {
|
|
edit(params).then(() => {
|
|
this.$message.success('修改成功');
|
|
this.$message.success('修改成功');
|
|
store.commit('SET_TABINDEX', 0)
|
|
store.commit('SET_TABINDEX', 0)
|
|
- this.$router.push('/goods')
|
|
|
|
|
|
+ this.$router.push({name:'goods',params:{checking:true}})
|
|
store.commit('REMOVETAB', '商品信息')
|
|
store.commit('REMOVETAB', '商品信息')
|
|
store.commit('REMOVETAB', '商品详情')
|
|
store.commit('REMOVETAB', '商品详情')
|
|
}).catch(() => {
|
|
}).catch(() => {
|