From b35ae89a354d29643af99cc150812241b940352d Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期五, 15 七月 2022 14:44:46 +0800
Subject: [PATCH] bugxiufu

---
 src/views/product/components/ProductContent.vue |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/views/product/components/ProductContent.vue b/src/views/product/components/ProductContent.vue
index d7280ee..9abfaff 100644
--- a/src/views/product/components/ProductContent.vue
+++ b/src/views/product/components/ProductContent.vue
@@ -79,6 +79,11 @@
 import { findAllCenterProduct, findDicByType } from "@/api/product";
 import productCard from "@/views/product/components/productCard";
 export default {
+  created() {
+    if (this.$route.query.keyWord) {
+      this.inputText = this.$route.query.keyWord;
+    }
+  },
   mounted() {
     this.getDic();
     this.getProductList();

--
Gitblit v1.8.0