简介:在uniapp vue3 setup语法糖中调用onLoad、onShow等生命周期 import { onLoad } from "@dcloudio/uni-app"onLoad(()=>{console.log(11)}) 从@dcloudio/uni-app导出 可导出项: formatAppLogformatH5LoggetCurrentSubNVuegetSsrGlobalDatainitUtsProxyClassinitUtsProxyFunctiononAddToFavoritesonBackPressonErro...
简介:在uniapp vue3 setup语法糖中调用onLoad、onShow等生命周期 import { onLoad } from "@dcloudio/uni-app"onLoad(()=>{console.log(11)}) 从@dcloudio/uni-app导出 可导出项: formatAppLogformatH5LoggetCurrentSubNVuegetSsrGlobalDatainitUtsProxyClassinitUtsProxyFunctiononAddToFavoritesonBackPressonErro...