Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
swx_weapp
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-15 17:02:58 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
adc0373d5b374bb270bd9d9b144800f971689218
adc0373d
1 parent
c2ddf83b
fix 创建活动的时候不控制活动时间设置逻辑
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
src/pages/auth/index.vue
src/pages/createActivity/index.vue
src/pages/auth/index.vue
View file @
adc0373
<!--
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-1
4 10:38:32
* @LastEditTime: 2022-11-1
5 16:45:25
* @FilePath: /swx/src/pages/auth/index.vue
* @Description: 文件描述
-->
...
...
@@ -35,8 +35,8 @@ export default {
title: '授权中',
})
request.post('/srv/?a=openid', {
//
code: res.code
openid: '0002'
code: res.code
//
openid: '0002'
// openid: 'o5NFZ5cFQtLRy3aVHaZMLkjHFusI'
// openid: 'o5NFZ5TpgG4FwYursGCLjcUJH2ak'
// openid: 'o5NFZ5cqroPYwawCp8FEOxewtgnw'
...
...
src/pages/createActivity/index.vue
View file @
adc0373
<!--
* @Date: 2022-09-21 16:04:10
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-11-1
4 16:00:16
* @LastEditTime: 2022-11-1
5 16:57:27
* @FilePath: /swx/src/pages/createActivity/index.vue
* @Description: 创建活动页面
-->
...
...
@@ -726,10 +726,10 @@ const validForm = () => { // 校验表单
Toast('报名开始时间不能晚于报名截止时间');
return false;
}
if (activity_time.value < reg_begin_time.value || activity_time.value >
reg_end_time.value) {
Toast('活动时间请在报名时间之间
');
return false;
}
// if (activity_time.value <
reg_end_time.value) {
// Toast('活动时间请在报名截止时间之后
');
//
return false;
//
}
if (reg_max.value === '') {
Toast('报名人数不能为空');
return false;
...
...
Please
register
or
login
to post a comment