增加公共数据
This commit is contained in:
@@ -45,11 +45,13 @@ export const useCommonStore = defineStore("common", {
|
||||
state() {
|
||||
return {
|
||||
payTips: '付款完成后不要忘记抽红包哦',
|
||||
goldBili: 0
|
||||
goldBili: 0,
|
||||
sysInfo:{}
|
||||
};
|
||||
},
|
||||
actions: {
|
||||
async init() {
|
||||
this.sysInfo=uni.getSystemInfoSync()
|
||||
const res = await getCommonConfig()
|
||||
if (res) {
|
||||
for (let i in $map) {
|
||||
|
||||
Reference in New Issue
Block a user