From b73200f9537a39f484708409a6f8840ebb0db82c Mon Sep 17 00:00:00 2001 From: mark <mark18340872469@163.com> Date: 星期二, 27 九月 2022 17:10:16 +0800 Subject: [PATCH] 又改 --- 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