Commit 6e05743d authored by 黄奎's avatar 黄奎

日历修改

parent 412a0d68
...@@ -54,7 +54,7 @@ ...@@ -54,7 +54,7 @@
<!-- 日历弹窗 --> <!-- 日历弹窗 -->
<u-popup v-model="show" mode="bottom" length="100%"> <u-popup v-model="show" mode="bottom" length="100%">
<view> <view>
<uni-calendar ref="calendar" :insert="false" @confirm="confirm" /> <uni-calendar ref="calendar" :insert="false" @confirm="confirm" @close="close" />
</view> </view>
</u-popup> </u-popup>
</view> </view>
...@@ -266,6 +266,10 @@ ...@@ -266,6 +266,10 @@
this.show = true this.show = true
this.$refs.calendar.open(); this.$refs.calendar.open();
}, },
close() {
this.show = false
console.log('弹窗关闭');
},
// 学校 // 学校
school() { school() {
testCmd = "/api/WeChatPublic/GetStuSchoolClass"; testCmd = "/api/WeChatPublic/GetStuSchoolClass";
......
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