wangxy il y a 3 mois
Parent
commit
6ea78193e4
1 fichiers modifiés avec 12 ajouts et 0 suppressions
  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;
+		},
+	},
+});