Commit b0648ce8 by fengzhaoyu

Merge branch 'dev' into release_beta/1.0.0

parents e8e05b21 516244e4
......@@ -46,6 +46,7 @@
}
.applicationLogo {
flex: 0 0 72rpx;
width: 72rpx;
height: 72rpx;
margin-right: 24rpx;
......@@ -65,6 +66,10 @@
}
.applicationMsg>view:nth-of-type(1)>view:nth-of-type(1) {
max-width: 448rpx;
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
font-size: 28rpx;
color: #191F25;
margin-bottom: 8rpx;
......
......@@ -48,7 +48,7 @@ create.Page({
placeholder: '',
isIPX: false
},
limitClick: false,
showPop(event) {
this.setData({
show: true
......@@ -337,6 +337,10 @@ create.Page({
},
addSchedule: throttle(async function () {
if (this.limitClick) {
return false
}
this.limitClick = true
let data = {
title: this.data.title || `${getApp().globalData.name}创建的会议`,
location: {
......@@ -355,8 +359,11 @@ create.Page({
meetingRoomId: this.$store.data.roomId,
meetingWayModel: this.data.meetingWayModel
}
const res = await addSchedule(data);
const res = await addSchedule(data).catch(err => {
this.limitClick = false
});
if (res.data.code === 0) {
this.limitClick = false
this.$store.data.tabBarIndex = '1'
if (this.data.repeatable === 0) {
if (this.$store.addOnceMeeting) {
......@@ -368,7 +375,6 @@ create.Page({
id: res.data.data.id
})
}
} else {
if (this.$store.modifyErpeatMeeting) {
await this.$store.modifyErpeatMeeting()
......
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