diff --git a/src/components/PortalHeader.vue b/src/components/PortalHeader.vue index b7f65272..e1dda6e9 100644 --- a/src/components/PortalHeader.vue +++ b/src/components/PortalHeader.vue @@ -153,6 +153,10 @@ export default { goSearch:{ type: Number, default: 0, + }, + keywords:{ + type:String, + default:'' } }, @@ -170,6 +174,14 @@ export default { } } }, + watch:{ + keywords(newval){ + console.log(newval,9999); + if(this.findType == '1'){ + this.keyword = newval + } + } + }, data() { return { popupConfig:{}, diff --git a/src/views/portal/case/Index.vue b/src/views/portal/case/Index.vue index ae914955..6d975239 100644 --- a/src/views/portal/case/Index.vue +++ b/src/views/portal/case/Index.vue @@ -1073,7 +1073,7 @@ export default { }, async getCaseData() { - // this.saveLocalFilters();//存储本地刷新有记录 + this.saveLocalFilters();//存储本地刷新有记录 let majorTypeList = []; let allFielclass = JSON.parse(JSON.stringify(this.getAllFielclass())); // 获取树状id diff --git a/src/views/portal/course/Index.vue b/src/views/portal/course/Index.vue index e5cf4c7d..9b6e97ec 100644 --- a/src/views/portal/course/Index.vue +++ b/src/views/portal/course/Index.vue @@ -1,7 +1,7 @@