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
2022-11-29 14:43:00 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
260516beaad4a35c6d5a833c727f1693a8dbed9e
260516be
1 parent
f9db6626
fix
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
src/views/index.vue
src/views/index.vue
View file @
260516b
...
...
@@ -167,10 +167,10 @@ const video = ref(null);
const onSubmit = async (values) => {
// 合并自定义字段到提交表单字段
postData.value = _.assign(postData.value, values);
// 格式化value值为json格式
for (const key in postData.value) {
postData.value[key] = JSON.stringify(postData.value[key]);
}
// 格式化value值为json格式
, 提交格式有问题
//
for (const key in postData.value) {
//
postData.value[key] = JSON.stringify(postData.value[key]);
//
}
// 检查非表单输入项
if (validOther()) {
// 通过验证
...
...
Please
register
or
login
to post a comment