From 5c0c6ad7ac6f28e970532af9936de638830f1161 Mon Sep 17 00:00:00 2001
From: ZZJ <10913410+zzj2100@user.noreply.gitee.com>
Date: 星期四, 28 七月 2022 10:20:51 +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