This commit is contained in:
陈红丽 2024-12-18 14:29:29 +08:00
parent 6d16d72e3e
commit e45d035825
3 changed files with 10 additions and 10 deletions

View File

@ -68,7 +68,7 @@
v-if="editVisible"
:configId="configId"
v-model:visible="editVisible"
@success="loadDataTable()"
@success="reloadTable('noRefresh')"
/>
</PageWrapper>
</template>
@ -133,9 +133,9 @@
/**
* 刷新字典项值列表
*/
function reloadTable() {
tableRef.value.reload({ pageNo: 1 });
}
function reloadTable(noRefresh = '') {
tableRef.value.reload(noRefresh ? {} : { pageNo: 1 });
}
/**
* 加载数据列表
*/

View File

@ -46,7 +46,7 @@
:dictId="dictId"
:dictItemId="dictItemId"
v-model:visible="editVisible"
@success="reloadTable"
@success="reloadTable('noRefresh')"
/>
</PageWrapper>
</template>
@ -110,8 +110,8 @@
/**
* 刷新字典项值列表
*/
function reloadTable() {
tableRef.value.reload({ pageNo: 1 });
function reloadTable(noRefresh = '') {
tableRef.value.reload(noRefresh ? {} : { pageNo: 1 });
}
/**

View File

@ -77,7 +77,7 @@
v-if="editVisible"
:dictId="dictId"
v-model:visible="editVisible"
@success="loadDataTable()"
@success="reloadTable('noRefresh')"
/>
</PageWrapper>
</template>
@ -148,8 +148,8 @@
/**
* 刷新字典项值列表
*/
function reloadTable() {
tableRef.value.reload({ pageNo: 1 });
function reloadTable(noRefresh = '') {
tableRef.value.reload(noRefresh ? {} : { pageNo: 1 });
}
/**