小程序之全局变量的设置及使用

很简单就是app.js 存下变量

在其他页面顶部引入

const app = getApp()
app.globalData.scene

猜你喜欢

转载自www.cnblogs.com/panax/p/10082335.html