|
@@ -77,7 +77,7 @@
|
|
|
const formElRef = ref<Nullable<FormActionType>>(null)
|
|
|
const formType = ref(0) // 0 - 创建账号 1 - 更新账号
|
|
|
const { createMessage } = useMessage()
|
|
|
- const [registerTable, { setTableData, reload }] = useTable({
|
|
|
+ const [registerTable, { setTableData }] = useTable({
|
|
|
columns: getTableColumns((item: ProjectAccountItem) => showUpdateModalFn(item), props.hasPermission),
|
|
|
showTableSetting: true,
|
|
|
canResize: true
|
|
@@ -195,7 +195,7 @@
|
|
|
/**同步计量账号 */
|
|
|
async function syncAccount() {
|
|
|
await syncProjectAccountFromJL({ id: props.id })
|
|
|
- reload()
|
|
|
+ fetchTableData(props.id)
|
|
|
}
|
|
|
|
|
|
async function showUpdateModalFn(item: ProjectAccountItem) {
|