fix 部门管理 右键删除完 没有重新调接口
This commit is contained in:
@@ -64,7 +64,8 @@
|
||||
<a-menu-item key="6" @click="closeAll">{{ $t('mergeAll') }}</a-menu-item>
|
||||
</a-menu>
|
||||
<a-button>
|
||||
{{ $t('treeOperation') }} <a-icon type="up" />
|
||||
{{ $t('treeOperation') }}
|
||||
<a-icon type="up" />
|
||||
</a-button>
|
||||
</a-dropdown>
|
||||
</div>
|
||||
@@ -471,7 +472,7 @@ export default {
|
||||
this.$confirm({
|
||||
title: this.$t('confirmDeletion'),
|
||||
content: this.$t('depart.deleteDepartmentData'),
|
||||
onOk: function () {
|
||||
onOk: () => {
|
||||
deleteByDepartId({ id: that.rightClickSelectedKey }).then((resp) => {
|
||||
if (resp.success) {
|
||||
// 删除成功后,去除已选中中的数据
|
||||
|
||||
Reference in New Issue
Block a user