Commit 4528f7bd by xiexiaoqin

Merge branch 'release/dev/2.1.0' of…

Merge branch 'release/dev/2.1.0' of ssh://gitlab.roboming.com:2018/fengzhaoyu/schedule into release/dev/2.1.0
parents 441623c9 07777165
node_modules/ node_modules/
.tea/ .tea/
debug.log debug.log
.kaitian/settings.json
{ {
"editor.formatOnSave": true "editor.formatOnSave": true,
"editor.fontSize": 14
} }
\ No newline at end of file
...@@ -50,7 +50,7 @@ create.Page({ ...@@ -50,7 +50,7 @@ create.Page({
}) })
this.setData({ this.setData({
isIPX: checkFullScren(), isIPX: checkFullScren(),
placeholder: `${getApp().globalData.name}创建的会议` placeholder: '添加事件、会议、活动等标题'
}) })
this.reset(query) this.reset(query)
}, },
...@@ -222,12 +222,18 @@ create.Page({ ...@@ -222,12 +222,18 @@ create.Page({
if (this.data.limitClick) { if (this.data.limitClick) {
return return
} }
if (!this.data.title) {
dd.showToast({
content: '标题不能为空',
});
return
}
this.setData({ limitClick: true }); this.setData({ limitClick: true });
dd.showLoading({ dd.showLoading({
content: '正在创建...', content: '正在创建...',
}); });
let data = { let data = {
title: this.data.title || `${getApp().globalData.name}创建的会议`, title: this.data.title,
location: { location: {
longitude: '10', longitude: '10',
latitude: '10', latitude: '10',
......
...@@ -124,7 +124,7 @@ create.Page({ ...@@ -124,7 +124,7 @@ create.Page({
this.reset() this.reset()
this.setData({ this.setData({
isIPX: checkFullScren(), isIPX: checkFullScren(),
placeholder: `${getApp().globalData.name}创建的会议`, placeholder: '事件、会议、活动标题',
scheduleItem, scheduleItem,
currentPeople: getApp().globalData.userid || dd.getStorageSync({ key: 'userid' }).data currentPeople: getApp().globalData.userid || dd.getStorageSync({ key: 'userid' }).data
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment