import { reactive, ref, getCurrentInstance } from 'vue'
const install = getCurrentInstance()
getCurrentInstance应该像这样在代码一开始就调用,如果放到各种异步回调的函数中 就会报null
import { reactive, ref, getCurrentInstance } from 'vue'
const install = getCurrentInstance()
getCurrentInstance应该像这样在代码一开始就调用,如果放到各种异步回调的函数中 就会报null
6 个评论
要回复文章请先登录或注册
凌风浮云S (作者)
凌风浮云S (作者)
DCloud_UNI_yuhe
凌风浮云S (作者)
凌风浮云S (作者)
DCloud_UNI_yuhe