feat: 获取扫码的参数

This commit is contained in:
2025-09-04 21:27:58 +08:00
parent 46a3b6a878
commit 613a2be148
5 changed files with 75 additions and 38 deletions

View File

@@ -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,