@@ -13,12 +13,7 @@ export const useRadioStore = defineStore("radio", {
},
};
- // could also be defined as
- // state: () => ({ count: 0 })
+
actions: {
- cambia() {
- const oneRadio = Object.keys(this.radios)[0];
- this.radios[oneRadio].name = "asd " + Math.random()
- },
-})
+});