1 知识Detail页退回page页路由修改

2 目录型知识库禁用直接上传知识
This commit is contained in:
wu.jifen
2025-07-11 16:37:46 +08:00
parent 34739bec55
commit 26955ebcdc

View File

@@ -6,7 +6,7 @@
<el-icon
class="el-icon-arrow-left"
style="font-size: 24px;cursor: pointer"
@click.native="$router.history.go(-1)"
@click.native="goDatasetList"
></el-icon>
</div>
@@ -79,6 +79,7 @@
class="primary-button"
disbaled
@click="jumpAddKnowledge"
v-if="useDirectory !== 1"
>上传知识
</el-button>
<el-button
@@ -218,7 +219,6 @@
:columns="dirColumns"
:data="treeData"
:deletion="false"
:total="treeData.length"
/>
<directory-form
:visible.sync="dialogVisible"
@@ -830,6 +830,9 @@ export default {
this.pollingTimer = null
}
}, 3000)
},
goDatasetList() {
this.$router.push({ path: '/knowledge/list' })
}
},
filters: {