Commit 9db866f5 authored by lixy's avatar lixy

搜索

parent 180165a4
<template> <template>
<div class="container" style="background: #fff;"> <div class="container" style="background: #fff;">
<menu-modal></menu-modal> <menu-modal v-on:childByValue = "childByValue"></menu-modal>
<div class="main-container"> <div class="main-container">
<div class="wrap" style="background:#fff"> <div class="wrap" style="background:#fff">
<div style="margin: 20px 0;padding: 0" class="bread-menu"> <div style="margin: 20px 0;padding: 0" class="bread-menu">
...@@ -244,6 +244,10 @@ export default { ...@@ -244,6 +244,10 @@ export default {
this.getAll(); this.getAll();
}, },
methods: { methods: {
childByValue(e){
this.listQuery.keyword = e;
this.getAll();
},
async getAll() { async getAll() {
// this.listQuery.keyword = this.$route.query.keywords; // this.listQuery.keyword = this.$route.query.keywords;
let { let {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment