浏览代码

商品详情

lifanagju_citu 5 月之前
父节点
当前提交
41aea1f991
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      src/router/modules/recruit.js
  2. 1 1
      src/views/mall/components/details.vue

+ 1 - 1
src/router/modules/recruit.js

@@ -46,7 +46,7 @@ const recruit = [
       {
         path: '/mall/goodsDetail/:id',
         component: () => import('@/views/mall/components/details.vue'),
-        name: 'wareDetails',
+        name: 'goodsDetail',
         meta: {
           title: '商品详情'
         }

+ 1 - 1
src/views/mall/components/details.vue

@@ -30,7 +30,7 @@
 </template>
 
 <script setup>
-defineOptions({name: 'wares-details'})
+defineOptions({name: 'goods-details'})
 import { getProductDetail } from '@/api/mall'
 import selectSku from './detailsComponents/s-select-sku.vue'
 import { ref } from 'vue'