mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 02:46:50 +08:00
fix(knowledge): 优化显示效果
1. 取消按钮优化, 点击保存之后,取消取消按钮隐藏
This commit is contained in:
@@ -28,10 +28,12 @@
|
||||
</el-col>
|
||||
|
||||
<el-col :span="24" class="text-center">
|
||||
<el-button type="primary" size="medium" @click="save">{{ $route.query.datasetId ? '保存' : '创建' }}</el-button>
|
||||
<el-button size="medium" @click="$router.go(-1)">取消 </el-button>
|
||||
<el-button type="primary" size="medium" @click="save">
|
||||
{{ $route.query.datasetId ? '保存' : '创建' }}
|
||||
</el-button>
|
||||
<el-button size="medium" v-if="!infoDialogVisible" @click="$router.go(-1)">取消</el-button>
|
||||
<el-button size="medium" @click="jumpKnowledgeList" v-if="infoDialogVisible">返回知识库列表</el-button>
|
||||
<el-button size="medium" @click="jumpKnowledgeDetail" v-if="infoDialogVisible">查看知识库详情 </el-button>
|
||||
<el-button size="medium" @click="jumpKnowledgeDetail" v-if="infoDialogVisible">查看知识库详情</el-button>
|
||||
</el-col>
|
||||
</el-row>
|
||||
</el-card>
|
||||
@@ -41,10 +43,9 @@
|
||||
</template>
|
||||
<script>
|
||||
import 'nprogress/nprogress.css' // progress bar style
|
||||
import renderLoading from '@/components/RenderLoading/loading/index'
|
||||
import NProgress from 'nprogress'
|
||||
|
||||
import { getDatasetById, datasetUpdate, datasetCreate } from '@/api/generatedApi/index'
|
||||
import { datasetCreate, datasetUpdate, getDatasetById } from '@/api/generatedApi'
|
||||
|
||||
export default {
|
||||
name: 'knowledgeForm',
|
||||
data() {
|
||||
@@ -119,7 +120,8 @@ export default {
|
||||
})
|
||||
}
|
||||
},
|
||||
created() {},
|
||||
created() {
|
||||
},
|
||||
mounted() {
|
||||
this.getDetail()
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user