wangxy 3 tháng trước cách đây
mục cha
commit
6ea78193e4
1 tập tin đã thay đổi với 12 bổ sung0 xóa
  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;
+		},
+	},
+});