forked from github/dataease
fix(数据集): 按钮可以反复点击,导致反复加载数据 #12156
This commit is contained in:
parent
1cd0fe8f1f
commit
8bdc2832dc
@ -296,7 +296,6 @@ const emits = defineEmits(['finish'])
|
||||
|
||||
<template>
|
||||
<el-dialog
|
||||
v-loading="loading"
|
||||
:title="dialogTitle"
|
||||
v-model="createDataset"
|
||||
class="create-dialog"
|
||||
@ -374,7 +373,9 @@ const emits = defineEmits(['finish'])
|
||||
</el-form>
|
||||
<template #footer>
|
||||
<el-button secondary @click="resetForm">{{ t('dataset.cancel') }} </el-button>
|
||||
<el-button type="primary" @click="saveDataset">{{ t('dataset.confirm') }} </el-button>
|
||||
<el-button v-loading="loading" type="primary" @click="saveDataset"
|
||||
>{{ t('dataset.confirm') }}
|
||||
</el-button>
|
||||
</template>
|
||||
</el-dialog>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user