From 013c4922a3296e95a54c1902c09b44d62a000eb2 Mon Sep 17 00:00:00 2001 From: ZZJ <10913410+zzj2100@user.noreply.gitee.com> Date: 星期三, 27 七月 2022 17:14:02 +0800 Subject: [PATCH] Merge branch 'shandong' of ssh://192.168.5.5:29418/web/saas-web into shandong --- 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