mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-15 18:51:54 +08:00
所有菜单的 name 都加上模块的前缀,避免冲突
This commit is contained in:
@@ -77,7 +77,7 @@
|
||||
import { createProperty, updateProperty, deleteProperty, getProperty, getPropertyPage } from "@/api/mall/product/property";
|
||||
|
||||
export default {
|
||||
name: "Property",
|
||||
name: "ProductProperty",
|
||||
components: {
|
||||
},
|
||||
data() {
|
||||
|
@@ -83,7 +83,7 @@ import {
|
||||
} from '@/api/mall/product/property'
|
||||
|
||||
export default {
|
||||
name: "PropertyValue",
|
||||
name: "ProductPropertyValue",
|
||||
data() {
|
||||
return {
|
||||
// 遮罩层
|
||||
|
@@ -227,7 +227,7 @@ import {getBrandList} from "@/api/mall/product/brand";
|
||||
import {ProductSpuStatusEnum} from "@/utils/constants";
|
||||
|
||||
export default {
|
||||
name: "Spu",
|
||||
name: "ProductSpu",
|
||||
data() {
|
||||
return {
|
||||
activeTabs: "all",
|
||||
@@ -318,11 +318,11 @@ export default {
|
||||
},
|
||||
/** 新增按钮操作 */
|
||||
handleAdd() {
|
||||
this.$router.push({ name: 'SpuAdd'})
|
||||
this.$router.push({ name: 'ProductSpuCreate'})
|
||||
},
|
||||
/** 修改按钮操作 */
|
||||
handleUpdate(row) {
|
||||
this.$router.push({ name: 'SpuEdit', params: { spuId: row.id }})
|
||||
this.$router.push({ name: 'ProductSpuUpdate', params: { spuId: row.id }})
|
||||
},
|
||||
/** 删除按钮操作 */
|
||||
handleDelete(row) {
|
||||
|
@@ -187,7 +187,6 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
|
||||
import {getBrandList} from "@/api/mall/product/brand";
|
||||
import {getProductCategoryList} from "@/api/mall/product/category";
|
||||
import {createSpu, getSpuDetail, updateSpu} from "@/api/mall/product/spu";
|
||||
@@ -197,6 +196,7 @@ import ImageUpload from "@/components/ImageUpload";
|
||||
import VideoUpload from "@/components/VideoUpload";
|
||||
|
||||
export default {
|
||||
name: "ProductSave",
|
||||
components: {
|
||||
Editor,
|
||||
ImageUpload,
|
||||
|
Reference in New Issue
Block a user