修改名称,优化
This commit is contained in:
@@ -100,7 +100,7 @@ Page({
|
||||
wx.hideLoading()
|
||||
|
||||
if (!res.result.success) {
|
||||
wx.showModal({ title: '错误', content: res.result.msg, showCancel: false })
|
||||
wx.showModal({ title: '提示', content: res.result.msg, showCancel: false })
|
||||
return false
|
||||
}
|
||||
|
||||
@@ -247,7 +247,7 @@ Page({
|
||||
|
||||
onShareAppMessage() {
|
||||
return {
|
||||
title: '快来填位置,我们去找个中间点聚会!',
|
||||
title: '点线得面 - 找到大家的聚会好去处!',
|
||||
path: `/pages/room/room?roomId=${this.data.roomId}`
|
||||
}
|
||||
},
|
||||
@@ -431,9 +431,9 @@ Page({
|
||||
onEditRoomName() {
|
||||
wx.showModal({
|
||||
title: '修改聚会名称',
|
||||
content: '请输入新的聚会名称',
|
||||
content: this.data.roomName,
|
||||
editable: true,
|
||||
placeholderText: this.data.roomName,
|
||||
placeholderText: '请输入聚会名称',
|
||||
success: (res) => {
|
||||
if (res.confirm && res.content.trim()) {
|
||||
const newName = res.content.trim()
|
||||
|
||||
Reference in New Issue
Block a user