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-10-31 14:21:43 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
267b5a2b2d8da5aa706189acdb2d27ef8b374542
267b5a2b
1 parent
bea6d5b1
fix 岗位报名分隔符号提示优化
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
src/pages/createActivity/index.vue
src/pages/createActivity/index.vue
View file @
267b5a2
<!--
* @Date: 2022-09-21 16:04:10
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2022-10-31 14:
15:03
* @LastEditTime: 2022-10-31 14:
20:36
* @FilePath: /swx/src/pages/createActivity/index.vue
* @Description: 创建活动页面
-->
...
...
@@ -658,9 +658,9 @@ const onExtendChange = ({ detail }) => {
job_post.value = detail;
extend.value = detail.split(',');
}
const onExtendBlur = () => {
// TODO:提交时可以才检查一次
const onExtendBlur = () => {
if (job_post.value.indexOf(',') >= 0) {
Toast('请使用中文标点逗号');
Toast('请使用中文标点逗号
分隔
');
}
}
...
...
@@ -711,6 +711,10 @@ const validForm = () => { // 校验表单
Toast('活动地址不能为空');
return false;
}
if (job_post.value.indexOf(',') >= 0) {
Toast('岗位报名,请使用中文标点逗号分隔');
return false;
}
return true;
}
...
...
Please
register
or
login
to post a comment