mirror of
http://112.124.100.131/ebiz-ai/ebiz-ai-knowledge-manage.git
synced 2025-12-10 03:16:49 +08:00
refactor(knowledge): 优化知识拆分和题词功能的样式和布局
- 调整了拆分和题词配置界面的样式 - 优化了弹窗对话框的布局结构 - 统一了按钮样式和间距 - 调整了表格样式和分页功能
This commit is contained in:
@@ -62,7 +62,6 @@ const RenderSlot = {
|
||||
let content = data.props.render(h, params)
|
||||
let contentDiv = content.children
|
||||
if (contentDiv.length > 2) {
|
||||
console.log(content)
|
||||
// 切割掉第一个div
|
||||
const first = contentDiv.splice(0, 1)
|
||||
const other = contentDiv.splice(0, contentDiv.length)
|
||||
@@ -79,7 +78,6 @@ const RenderSlot = {
|
||||
// const first = contentDiv.splice(0, contentDiv)
|
||||
|
||||
contentDiv = contentDiv.map(item => {
|
||||
console.log(item)
|
||||
item.data.class = 'normal-button'
|
||||
item.data.props.type = null
|
||||
item.data.props.size = null
|
||||
@@ -104,7 +102,12 @@ export default {
|
||||
let { item, scope } = this
|
||||
return (
|
||||
// <el-form-item prop={`"${item.ruleName}"`} rules={item.rules}>
|
||||
<render-slot row={scope.row} render={item.render} index={scope.$index} column={item} />
|
||||
<render-slot
|
||||
row={scope.row}
|
||||
render={item.render}
|
||||
index={scope.$index}
|
||||
column={item}
|
||||
/>
|
||||
// </el-form-item>
|
||||
// </el-form>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user