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
2023-05-26 16:40:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
43b9fabdbee616fc4e9b027d57fd823f391ef467
43b9fabd
1 parent
d9d6d96b
表单设置API当数据量达到限额时字段调整
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
src/App.vue
src/views/index.vue
src/App.vue
View file @
43b9fab
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-2
5 17:12:08
* @LastEditTime: 2023-05-2
6 16:38:49
* @FilePath: /data-table/src/App.vue
* @Description:
-->
...
...
@@ -130,10 +130,10 @@ onMounted(async () => {
});
}
// 当数据量达到限额时,该表单将不能继续提交数据。
if (form_setting.
is_reach_sjsj_max_count
) {
if (form_setting.
sjsj_max_count_error
) {
showDialog({
title: '温馨提示',
message:
'表单收集量已达到限额,无法再提交数据。'
,
message:
form_setting.sjsj_max_count_error
,
theme: 'round-button',
confirmButtonColor: styleColor.baseColor
});
...
...
src/views/index.vue
View file @
43b9fab
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-2
5 17:49:41
* @LastEditTime: 2023-05-2
6 16:38:56
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -334,7 +334,7 @@ onMounted(async () => {
});
}
// 当数据量达到限额时,该表单将不能继续提交数据。
if (formSetting.value.
is_reach_sjsj_max_count
) {
if (formSetting.value.
sjsj_max_count_error
) {
// 提交按钮禁用
submitStatus.value = true;
}
...
...
Please
register
or
login
to post a comment