fix: uploaded document error(#1909)
This commit is contained in:
parent
9f012fd43a
commit
3bae4c5511
@ -22,12 +22,17 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="create-dataset__footer text-right border-t" v-if="active !== 2">
|
<div class="create-dataset__footer text-right border-t" v-if="active !== 2">
|
||||||
<el-button @click="router.go(-1)" :disabled="loading">取消</el-button>
|
<el-button @click="router.go(-1)" :disabled="SetRulesRef?.loading || loading">取消</el-button>
|
||||||
<el-button @click="prev" v-if="active === 1" :disabled="loading">上一步</el-button>
|
<el-button @click="prev" v-if="active === 1" :disabled="SetRulesRef?.loading || loading">上一步</el-button>
|
||||||
<el-button @click="next" type="primary" v-if="active === 0" :disabled="loading">
|
<el-button @click="next" type="primary" v-if="active === 0" :disabled="SetRulesRef?.loading || loading">
|
||||||
{{ documentsType === 'txt' ? '下一步' : '开始导入' }}
|
{{ documentsType === 'txt' ? '下一步' : '开始导入' }}
|
||||||
</el-button>
|
</el-button>
|
||||||
<el-button @click="submit" type="primary" v-if="active === 1" :disabled="loading">
|
<el-button
|
||||||
|
@click="submit"
|
||||||
|
type="primary"
|
||||||
|
v-if="active === 1"
|
||||||
|
:disabled="SetRulesRef?.loading || loading"
|
||||||
|
>
|
||||||
开始导入
|
开始导入
|
||||||
</el-button>
|
</el-button>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -209,7 +209,8 @@ onMounted(() => {
|
|||||||
|
|
||||||
defineExpose({
|
defineExpose({
|
||||||
paragraphList,
|
paragraphList,
|
||||||
checkedConnect
|
checkedConnect,
|
||||||
|
loading
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
<style scoped lang="scss">
|
<style scoped lang="scss">
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user