实现基本的图表管理

This commit is contained in:
刘祥超
2021-07-03 15:44:49 +08:00
parent 534f10b8a7
commit f297f4ec52
42 changed files with 1010 additions and 99 deletions

View File

@@ -0,0 +1,15 @@
Tea.context(function () {
this.type = this.types[0].code
this.typeDefinition = null
this.$delay(function () {
this.changeType()
})
this.changeType = function () {
let that = this
this.typeDefinition = this.types.$find(function (k, v) {
return v.code == that.type
})
}
})