diff --git a/src/views/layout/components/main/product/spu/add.vue b/src/views/layout/components/main/product/spu/add.vue index 38fb9b1..4dae279 100644 --- a/src/views/layout/components/main/product/spu/add.vue +++ b/src/views/layout/components/main/product/spu/add.vue @@ -10,8 +10,8 @@ {{ $route.meta.title }} - - + + diff --git a/src/views/layout/components/main/product/spu/index.vue b/src/views/layout/components/main/product/spu/index.vue index afa181b..59a671f 100644 --- a/src/views/layout/components/main/product/spu/index.vue +++ b/src/views/layout/components/main/product/spu/index.vue @@ -174,7 +174,7 @@ export default { this.$message.error('请选择一条需要编辑的记录') break case 1: - this.$router.push('/register/edit/' + selId['0']) + this.$router.push('/spu/edit/' + selId['0']) break default: this.$message.error('只能选择一条记录')