Commit cb0cc127 by fengzhaoyu

返回修改

parent 2c290aba
<view> <view>
<view class="remarkInput"> <view class="remarkInput">
<textarea onInput="getRemark" auto-height placeholder="添加内容描述" value="{{remark}}" /> <textarea focus="{{true}}" onInput="getRemark" auto-height placeholder="添加内容描述" value="{{remark}}" />
</view> </view>
<!-- 保存 --> <!-- 保存 -->
<view class="confirm" onTap="save"> <view class="confirm" onTap="save">
......
...@@ -215,8 +215,8 @@ create.Page({ ...@@ -215,8 +215,8 @@ create.Page({
remark: this.store.data.remark remark: this.store.data.remark
} }
modifySchedule(data).then(res => { modifySchedule(data).then(res => {
dd.redirectTo({ dd.navigateBack({
url: '/pages/index/index' delta: 2
}) })
}) })
...@@ -306,7 +306,7 @@ create.Page({ ...@@ -306,7 +306,7 @@ create.Page({
this.store.data.locationName = res.data.data.location.locationName this.store.data.locationName = res.data.data.location.locationName
this.store.data.participatorUserId = participatorUserId this.store.data.participatorUserId = participatorUserId
this.store.data.participatorList = participatorList this.store.data.participatorList = participatorList
this.store.data.remark = res.data.data.remark this.store.data.remark = res.data.data.remark || ''
this.store.data.recurrenceModel = res.data.data.recurrenceModel this.store.data.recurrenceModel = res.data.data.recurrenceModel
this.setData({ this.setData({
......
...@@ -11,7 +11,7 @@ class Store { ...@@ -11,7 +11,7 @@ class Store {
model:"no_repeat" model:"no_repeat"
}, },
editList: [{ icon: 'icondingwei', text: '地点' }, { icon: 'iconhuiqiantixing', text: '提醒' }, { icon: 'iconchongfu', text: '重复' }, { icon: 'icondidianmiaoshu', text: '描述' }, { icon: 'iconshanchu', text: '删除' }], editList: [{ icon: 'icondingwei', text: '地点' }, { icon: 'iconhuiqiantixing', text: '提醒' }, { icon: 'iconchongfu', text: '重复' }, { icon: 'icondidianmiaoshu', text: '描述' }, { icon: 'iconshanchu', text: '删除' }],
remark: '', // 会议描述 remark: ' 111 ', // 会议描述
aheadTimes: [] aheadTimes: []
} }
......
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