mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 19:06:49 +08:00
feat:新建知识库交互优化
This commit is contained in:
@@ -28,7 +28,7 @@
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24" class="text-center">
|
||||
<el-button type="primary" size="medium" @click="save">
|
||||
<el-button type="primary" size="medium" @click="save" v-if="!infoDialogVisible">
|
||||
{{ $route.query.datasetId ? '保存' : '创建' }}
|
||||
</el-button>
|
||||
<el-button size="medium" v-if="!infoDialogVisible" @click="$router.go(-1)">取消</el-button>
|
||||
|
||||
@@ -111,7 +111,7 @@ export default {
|
||||
type: 'warning'
|
||||
}).then(() => {
|
||||
datasetDelete({ id: item.id }).then(res => {
|
||||
if (res.content.result === 0) {
|
||||
if (res.content.result === '0') {
|
||||
this.$message({
|
||||
type: 'success',
|
||||
message: '删除成功!'
|
||||
|
||||
Reference in New Issue
Block a user