2.4 组件结构调整,调整会员权限判断
This commit is contained in:
@@ -180,21 +180,8 @@
|
||||
},
|
||||
onLoad() {
|
||||
this.getMemberStatus()
|
||||
this.init()
|
||||
},
|
||||
onReady() {
|
||||
this.init()
|
||||
},
|
||||
methods: {
|
||||
async init() {
|
||||
// chart 图表实例不能存在data里
|
||||
const chart = await this.$refs.chartRef.init(echarts);
|
||||
// chart.on('click',function (params) {
|
||||
// console.log(params)
|
||||
// })
|
||||
console.log(chart)
|
||||
chart.setOption(this.option1)
|
||||
},
|
||||
/**
|
||||
* 点击查看vip套餐
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user