feat: 获取扫码的参数
This commit is contained in:
@@ -4,6 +4,7 @@ export const useAppStore = defineStore("app", {
|
||||
state() {
|
||||
return {
|
||||
title: "",
|
||||
sceneId: "",
|
||||
};
|
||||
},
|
||||
getters: {},
|
||||
@@ -12,6 +13,9 @@ export const useAppStore = defineStore("app", {
|
||||
setData(data) {
|
||||
this.title = data;
|
||||
},
|
||||
setSceneId(data) {
|
||||
this.sceneId = data;
|
||||
},
|
||||
},
|
||||
|
||||
unistorage: true,
|
||||
|
||||
Reference in New Issue
Block a user