hookehuyr

fix

1 <!-- 1 <!--
2 * @Date: 2024-09-29 14:26:41 2 * @Date: 2024-09-29 14:26:41
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-12 13:54:06 4 + * @LastEditTime: 2024-12-13 10:03:11
5 * @FilePath: /hager/src/views/product/detail.vue 5 * @FilePath: /hager/src/views/product/detail.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
10 <hager-box> 10 <hager-box>
11 <div style="margin-top: 1.5rem;"> 11 <div style="margin-top: 1.5rem;">
12 <el-breadcrumb separator="/"> 12 <el-breadcrumb separator="/">
13 - <el-breadcrumb-item v-if="!is_xs" :to="{ path: '/product/index' }">所有产品</el-breadcrumb-item> 13 + <el-breadcrumb-item v-if="!is_xs" :to="{ path: allPath }">所有产品</el-breadcrumb-item>
14 <el-breadcrumb-item :to="{ path: productPath }">{{ info.parent_name }}</el-breadcrumb-item> 14 <el-breadcrumb-item :to="{ path: productPath }">{{ info.parent_name }}</el-breadcrumb-item>
15 <!-- <el-breadcrumb-item>{{ info.parent_name }}</el-breadcrumb-item> --> 15 <!-- <el-breadcrumb-item>{{ info.parent_name }}</el-breadcrumb-item> -->
16 <el-breadcrumb-item :to="{ path: categoryPath }">{{ info.category_name }}</el-breadcrumb-item> 16 <el-breadcrumb-item :to="{ path: categoryPath }">{{ info.category_name }}</el-breadcrumb-item>
...@@ -185,6 +185,9 @@ export default { ...@@ -185,6 +185,9 @@ export default {
185 }); 185 });
186 return sum; 186 return sum;
187 }, 187 },
188 + allPath () {
189 + return `/product/index/all/${Date.now()}`;
190 + },
188 productPath () { 191 productPath () {
189 return `/product/index/${this.info.parent_id}/${Date.now()}`; 192 return `/product/index/${this.info.parent_id}/${Date.now()}`;
190 }, 193 },
......
1 <!-- 1 <!--
2 * @Date: 2024-10-18 12:06:09 2 * @Date: 2024-10-18 12:06:09
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-12-12 17:37:23 4 + * @LastEditTime: 2024-12-12 17:39:55
5 * @FilePath: /hager/src/views/solution/case.vue 5 * @FilePath: /hager/src/views/solution/case.vue
6 * @Description: 文件描述 6 * @Description: 文件描述
7 --> 7 -->
...@@ -163,7 +163,6 @@ export default { ...@@ -163,7 +163,6 @@ export default {
163 }, 163 },
164 watch: { 164 watch: {
165 'top_banner' (v) { 165 'top_banner' (v) {
166 - console.warn(v);
167 } 166 }
168 }, 167 },
169 async mounted () { 168 async mounted () {
......