update tenant in ui

This commit is contained in:
lenboo 2019-07-02 15:07:48 +08:00
parent 7d2b9e5925
commit f55fd51ff2

View File

@ -45,7 +45,7 @@
if (stateTenantAllList.length) {
this.itemList = stateTenantAllList
} else {
this.store.dispatch('actions/getTenantList').then(res => {
this.store.dispatch('security/getTenantList').then(res => {
this.$nextTick(() => {
this.itemList = res
})