refactor(knowledge): 优化知识拆分和题词功能的样式和布局

- 调整了拆分和题词配置界面的样式
- 优化了弹窗对话框的布局结构
- 统一了按钮样式和间距
- 调整了表格样式和分页功能
This commit is contained in:
陈昱达
2025-04-24 17:57:10 +08:00
parent 79be862637
commit ccc289547e
11 changed files with 244 additions and 109 deletions

View File

@@ -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>
)