mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-09 19:06:49 +08:00
feat(knowledge): 优化创建知识详情页交互逻辑
- 调整步骤组件条件渲染逻辑,文件上传之后就不在允许二次上传文件
This commit is contained in:
@@ -26,7 +26,7 @@
|
||||
<el-button v-if="active === 0" type="primary" size="medium" @click="fetchApi">
|
||||
一键处理
|
||||
</el-button>
|
||||
<el-button size="medium" @click="active--" v-if="active >= 1">上一步</el-button>
|
||||
<el-button size="medium" @click="active--" v-if="active > 1">上一步</el-button>
|
||||
<el-button type="primary" size="medium" @click="nextStep" v-if="active < 2">下一步</el-button>
|
||||
<el-button type="primary" size="medium" @click="nextStep" v-if="active === 2">确定</el-button>
|
||||
<el-button type="primary" size="medium" @click="$router.history.go(-1)">取消</el-button>
|
||||
@@ -116,7 +116,7 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
/deep/.el-drawer__header {
|
||||
/deep/ .el-drawer__header {
|
||||
margin-bottom: unset;
|
||||
border-bottom: 1px solid #eee;
|
||||
padding-bottom: 20px;
|
||||
@@ -126,6 +126,7 @@ export default {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
padding-top: 10px;
|
||||
|
||||
&::after {
|
||||
content: '';
|
||||
border-top: 1px solid #ebeef5;
|
||||
|
||||
Reference in New Issue
Block a user