baseline: 小军 WMS 二开代码原始快照(含 SynOABusiness.cs Debugger.Break)
This commit is contained in:
commit
c2b0e7be0d
6522 files changed
+3530643
No files matched your search
Executable
+50
@@ -0,0 +1,50 @@
|
||||
# 日历组件 lx-calendar可选择周与月支持左右滑动切换
|
||||
|
||||
|
||||
```
|
||||
<template>
|
||||
<view class="content">
|
||||
|
||||
<lxCalendar @change="change"></lxCalendar>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import lxCalendar from '../../components/lx-calendar/lx-calendar.vue'
|
||||
export default {
|
||||
components:{
|
||||
lxCalendar,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
title: 'Hello'
|
||||
}
|
||||
},
|
||||
|
||||
onLoad() {
|
||||
|
||||
},
|
||||
methods: {
|
||||
change(e){
|
||||
console.log(e);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
```
|
||||
|
||||
|
||||
事件 | 说明
|
||||
---|---
|
||||
change | 日期改变时执行
|
||||
|
||||
参数 | 类型 | 说明
|
||||
---|---|---
|
||||
value | 字符串 | 选中的日期
|
||||
dot_lists | 数组 | 显示点的日期
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user