shaun-sheep 4 лет назад
Родитель
Сommit
5d88af4151
1 измененных файлов с 3 добавлено и 3 удалено
  1. 3 3
      src/components/public/remoteSearch.vue

+ 3 - 3
src/components/public/remoteSearch.vue

@@ -26,7 +26,7 @@ export default {
     ...mapGetters('layout', ['dictionary']),
   },
   mounted() {
-    
+
   },
   methods: {
     querySearchAsync(queryString, cb) {
@@ -63,7 +63,7 @@ export default {
     handleSelect(item) {
       if (item.objectType == 'brand') {
         this.$router.push({
-          path: 'brand/brandDetail',
+          path: '/brand/brandDetail',
           query: {
             BrandCname: item.BrandCname,
             BrandID:item.BrandID,
@@ -72,7 +72,7 @@ export default {
         })
       } else {
         this.$router.push({
-          path: 'product/productDetail',
+          path: '/product/productDetail',
           query: {
             major: item.Name,
             system: item.DefMajor[0].Name,