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
2024-05-13 14:24:25 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
54b39411a4ba61313f2ee257519d3303fab6becc
54b39411
1 parent
12bf7d8e
再次提交测试, 需要获取原来表单数据
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
1 deletions
src/views/index.vue
src/views/index.vue
View file @
54b3941
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2024-0
3-28 10:05:27
* @LastEditTime: 2024-0
5-13 14:24:11
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -241,6 +241,13 @@ onMounted(async () => {
};
}
formData.value = formatData(page_form);
// TODO:再次提交测试, 需要获取原来表单数据
// formData.value.forEach((item) => {
// if (item.key === 'field_4') {
// // 不同组件默认值可能获取方式设定不一样,需要检查下
// item.component_props.default = '123';
// }
// });
// TAG: mock数据
mockData.value = [
{
...
...
Please
register
or
login
to post a comment