wangxy 3 hónapja
szülő
commit
6ea78193e4
1 módosított fájl, 12 hozzáadás és 0 törlés
  1. 12 0
      store/isCanBack.js

+ 12 - 0
store/isCanBack.js

@@ -0,0 +1,12 @@
+import { defineStore } from 'pinia';
+
+export const useIsCanBack = defineStore('isCanBack', {
+	state: () => {
+		return { isCanBack: true };
+	},
+	actions: {
+		setIsCanBack(val) {
+			this.isCanBack = val;
+		},
+	},
+});