Commit 21c1e635 authored by 赵啸非's avatar 赵啸非

Merge remote-tracking branch 'origin/master'

parents 6e554419 e113ab7b
......@@ -357,13 +357,13 @@ export default {
}
},
},
// watch: {
// deptSearchVal(newVal) {
// if (newVal === "") {
// this.getDeptListData();
// }
// },
// },
watch: {
deptSearchVal(newVal) {
if (newVal === "") {
this.getDeptListData();
}
},
},
// 进入路由前
beforeRouteEnter(to, from, next) {
if (from.path === "/department/adddepartment") {
......@@ -564,8 +564,10 @@ export default {
this.getWindowListData();
},
// 左边搜索
onSearch() {
this.getDeptListData();
onSearch(val) {
if (val != "") {
this.getDeptListData();
}
},
// 右边搜索
onSearchRight() {
......
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