mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: uploaded document error(#1909)
This commit is contained in:
parent
9f012fd43a
commit
3bae4c5511
|
|
@ -22,12 +22,17 @@
|
|||
</div>
|
||||
</div>
|
||||
<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="prev" v-if="active === 1" :disabled="loading">上一步</el-button>
|
||||
<el-button @click="next" type="primary" v-if="active === 0" :disabled="loading">
|
||||
<el-button @click="router.go(-1)" :disabled="SetRulesRef?.loading || 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="SetRulesRef?.loading || loading">
|
||||
{{ documentsType === 'txt' ? '下一步' : '开始导入' }}
|
||||
</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>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -209,7 +209,8 @@ onMounted(() => {
|
|||
|
||||
defineExpose({
|
||||
paragraphList,
|
||||
checkedConnect
|
||||
checkedConnect,
|
||||
loading
|
||||
})
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
|
|
|
|||
Loading…
Reference in New Issue