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-25 17:55:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
05b642ed3bb84785d2d9cceec795cd08b4792400
05b642ed
1 parent
263dbe81
控制自定义表单提交表单频率
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
3 deletions
src/App.vue
src/views/index.vue
src/App.vue
View file @
05b642e
...
...
@@ -2,7 +2,7 @@
* @Author: hookehuyr hookehuyr@gmail.com
* @Date: 2022-05-26 23:52:36
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-25 1
1:49:15
* @LastEditTime: 2023-05-25 1
7:12:08
* @FilePath: /data-table/src/App.vue
* @Description:
-->
...
...
@@ -140,7 +140,14 @@ onMounted(async () => {
}
// 设定填写次数
if (form_setting.wxzq_scope && no_preview_model) {
if (form_setting.fill_error) {
showDialog({
title: '温馨提示',
message: form_setting.fill_error,
theme: 'round-button',
confirmButtonColor: styleColor.baseColor
});
}
}
// // 唯一设备码
// const fpPromise = fp3.load();
...
...
src/views/index.vue
View file @
05b642e
<!--
* @Date: 2022-07-18 10:22:22
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2023-05-2
2 17:55:53
* @LastEditTime: 2023-05-2
5 17:49:41
* @FilePath: /data-table/src/views/index.vue
* @Description: 首页
-->
...
...
@@ -333,6 +333,18 @@ onMounted(async () => {
sharePage({ title, desc: formSetting.value.wxzq_share_slogan, imgUrl: formSetting.value.wxzq_share_logo });
});
}
// 当数据量达到限额时,该表单将不能继续提交数据。
if (formSetting.value.is_reach_sjsj_max_count) {
// 提交按钮禁用
submitStatus.value = true;
}
// 设定填写次数
if (formSetting.value.wxzq_scope && model !== 'preview') {
if (formSetting.value.fill_error) {
// 提交按钮禁用
submitStatus.value = true;
}
}
});
// 打开轮询用户是否关注
...
...
Please
register
or
login
to post a comment