feat(src/views/reagent/client): 当离开时更新全局柜体数据

duizhaopin_ui
duan 2 years ago
parent 5e026e179f
commit 261963ad8d

@ -279,6 +279,7 @@ import {
get_drawer_power,
user_ban_relieve, set_drawer_power, user_ban_list, user_ban_confirm, del, client_empty
} from '@/api/reagent/client'
import { client_list } from '@/api/common'
export default {
name: 'Client',
@ -370,6 +371,14 @@ export default {
created() {
this.getList()
},
destroyed() {
// client使
client_list().then(
res => {
this.$store.commit('app/SET_COPTS', res.data.data_list)
}
)
},
methods: {
handleDisUser() {
if (this.multipleUserSelection.length !== 1) {

Loading…
Cancel
Save