refactor(ui): 更新组件属性以符合新版本规范
- 将所有组件中的 append-to-body 属性替换为 teleported - 为 el-radio 和 el-checkbox 组件添加正确的 value 属性 - 移除已弃用的 highlight-current-row 属性 - 为 vxe-table 添加 row-config 配置替代旧的高亮设置 - 更新 el-checkbox 的 true-value 属性值 - 修改 el-button 类型从 text 到 link 以匹配设计系统
This commit is contained in:
@@ -139,10 +139,10 @@
|
||||
v-model="scope.row.therapyEnum"
|
||||
size="small"
|
||||
>
|
||||
<el-radio-button label="1">
|
||||
<el-radio-button value="1">
|
||||
长期
|
||||
</el-radio-button>
|
||||
<el-radio-button label="2">
|
||||
<el-radio-button value="2">
|
||||
临时
|
||||
</el-radio-button>
|
||||
</el-radio-group>
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
v-loading="loading"
|
||||
height="350"
|
||||
:data="adviceBaseList"
|
||||
highlight-current-row
|
||||
:row-config="{ keyField: 'patientId' }"
|
||||
@current-change="handleCurrentChange"
|
||||
@cell-click="clickRow"
|
||||
|
||||
Reference in New Issue
Block a user