|
@@ -7,10 +7,11 @@
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
import { defineStore } from "pinia";
|
|
import { defineStore } from "pinia";
|
|
|
-
|
|
|
|
|
|
|
+const template = {}
|
|
|
export const useHttpOptionsStore = defineStore('httpOptions', {
|
|
export const useHttpOptionsStore = defineStore('httpOptions', {
|
|
|
state: () => ({
|
|
state: () => ({
|
|
|
currentNodeOptions: null as null | Record<string, any>,
|
|
currentNodeOptions: null as null | Record<string, any>,
|
|
|
|
|
+ template,
|
|
|
}),
|
|
}),
|
|
|
actions: {
|
|
actions: {
|
|
|
setCurrentNodeOptions(options: Record<string, any>) {
|
|
setCurrentNodeOptions(options: Record<string, any>) {
|
|
@@ -22,4 +23,4 @@ export const useHttpOptionsStore = defineStore('httpOptions', {
|
|
|
},
|
|
},
|
|
|
})
|
|
})
|
|
|
|
|
|
|
|
-export default useHttpOptionsStore;
|
|
|
|
|
|
|
+export default useHttpOptionsStore;
|