Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
data-table
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
hookehuyr
2025-11-24 17:31:30 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
725c65d5c5fffe68683f19a21bee75f14b8b901e
725c65d5
1 parent
81e2724d
fix: 修复分页表单结果数据处理逻辑错误
确保在存在x_score_map时处理分页表单结果数据,避免只读模式下跳过数据处理
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
src/views/index.vue
src/views/index.vue
View file @
725c65d
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-11-24 1
6:40:46
* @LastEditTime: 2025-11-24 1
7:31:04
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -516,7 +516,9 @@ onMounted(async () => {
if (isInfoPage) {
item.component_props.readonly = true;
PCommit.value.visible = false; // 只读模式下,提交按钮隐藏
}
// 处理分页表单结果数据
if (object.x_score_map) {
const score_map = object.x_score_map;
item.component_props.score = score_map[item.key] || '';
}
...
...
Please
register
or
login
to post a comment