导入失败无法继续上传

This commit is contained in:
gexinzhineng/gxzn27 2023-04-13 15:23:17 +08:00
parent b2fda6d476
commit 886c971447

View File

@ -45,7 +45,7 @@
preIcon="ep:upload"
:title="t('action.import')"
v-hasPermi="['system:user:import']"
@click="importDialogVisible = true"
@click="importClick"
/>
<!-- 操作导出用户 -->
<XButton
@ -470,6 +470,10 @@ const userRole = reactive({
nickname: '',
roleIds: []
})
const importClick = () => {
importDialogVisible.value = true
uploadDisabled.value = false
}
const handleRole = async (row: UserApi.UserVO) => {
userRole.id = row.id
userRole.username = row.username