fix: 修复user搜索框不能搜索的问题
This commit is contained in:
@@ -146,7 +146,7 @@ export default {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (this.$refs.dataTable) {
|
if (this.$refs.dataTable) {
|
||||||
this.$refs.dataTable.bodyWrapper.scrollTop = 0
|
this.$refs.dataTable.$refs.dataTable.bodyWrapper.scrollTop = 0
|
||||||
}
|
}
|
||||||
this.getTableData()
|
this.getTableData()
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -6,7 +6,9 @@
|
|||||||
:custom-table-title.sync="tools.customTableTitle"
|
:custom-table-title.sync="tools.customTableTitle"
|
||||||
:from="fromRoute.user"
|
:from="fromRoute.user"
|
||||||
:layout="['searchInput', 'elementSet']"
|
:layout="['searchInput', 'elementSet']"
|
||||||
:search-msg="searchMsg">
|
:search-msg="searchMsg"
|
||||||
|
@search="search"
|
||||||
|
>
|
||||||
<template v-slot:top-tool-right>
|
<template v-slot:top-tool-right>
|
||||||
<button id="account-add" v-has="'user_add'" :title="$t('overall.createUser')" class="top-tool-btn margin-r-10"
|
<button id="account-add" v-has="'user_add'" :title="$t('overall.createUser')" class="top-tool-btn margin-r-10"
|
||||||
type="button" @click="add">
|
type="button" @click="add">
|
||||||
|
|||||||
Reference in New Issue
Block a user