1.0.30 • Published 6 months ago
aegleboard v1.0.30
npm run lib
上传到npm
使用说明
1.main.js
import CheckerboardView from 'aegleboard'
Vue.use(CheckerboardView)
2.vue页面使用:
棋谱列表(九宫格)
<CheckerboardView v-if="parentHeight"
:manualHeight="parentHeight"
:businessParams="businessParams"
@getPieceMsg="getPieceMsg"/>
parentHeight:容器高度。例:this.parentHeight = this.$parent.$el.offsetHeight
businessParams:请求棋子接口需要的业务参数。
如:businessParams:{
patientBaseId:'',
visitCardNo:''
}
getPieceMsg:棋子操作的回调事件,返回的数据为msgCenter.js中sendEventMsg函数的返回值
添加棋子
<AddPieceToChess :menu-id="menuId" :manualHeight="parentHeight" />
parentHeight:容器高度。例:this.parentHeight = this.$parent.$el.offsetHeight
棋谱列表
CheckerboardView.vue
添加棋子到棋谱
AddPieceToChessManual.vue
1.0.19
10 months ago
1.0.18
10 months ago
1.0.17
10 months ago
1.0.16
10 months ago
1.0.2-9.1
6 months ago
1.0.2-9.2
6 months ago
1.0.22
10 months ago
1.0.21
10 months ago
1.0.20
10 months ago
1.0.26
6 months ago
1.0.25
6 months ago
1.0.24
6 months ago
1.0.23
6 months ago
1.0.29
6 months ago
1.0.28
6 months ago
1.0.27
6 months ago
1.0.30
6 months ago
1.0.15
11 months ago
1.0.14
11 months ago
1.0.13
11 months ago
1.0.12
11 months ago
1.0.11
11 months ago
1.0.10
11 months ago
1.0.9
11 months ago
1.0.8
11 months ago
1.0.7
11 months ago
1.0.6
11 months ago
1.0.5
11 months ago
1.0.4
11 months ago
1.0.3
11 months ago
1.0.2
11 months ago
1.0.1
12 months ago