修改this的箭头指向
import { getCurrentInstance } from 'vue'
const instance = getCurrentInstance() as any
let context = uni.createCanvasContext('myCanvas', instance);
修改this的箭头指向
import { getCurrentInstance } from 'vue'
const instance = getCurrentInstance() as any
let context = uni.createCanvasContext('myCanvas', instance);