wip
This commit is contained in:
@@ -33,4 +33,6 @@ a suivre !!!!=>
|
||||
https://appdividend.com/2018/05/08/vuex-axios-get-request-tutorial-with-example/
|
||||
|
||||
example 2
|
||||
https://github.com/vuejs/vuex/blob/dev/examples/shopping-cart/components/ProductList.vue
|
||||
https://github.com/vuejs/vuex/blob/dev/examples/shopping-cart/components/ProductList.vue
|
||||
|
||||
https://ypereirareis.github.io/blog/2017/04/25/vuejs-two-way-data-binding-state-management-vuex-strict-mode/
|
||||
@@ -7,10 +7,12 @@
|
||||
<q-item-side icon="settings" />
|
||||
<q-item-main :label="sprinkler.name" />
|
||||
<q-item-side right>
|
||||
<q-toggle v-model="sprinkler.state" />
|
||||
<q-toggle :value="true" @input="click" />
|
||||
</q-item-side>
|
||||
</q-item>
|
||||
<!--<q-item link v-ripple.mat>
|
||||
<q-toggle v-model="sprinkler.state" />
|
||||
|
||||
<q-item-side icon="settings" />
|
||||
<q-item-main label="Zone B" />
|
||||
<q-item-side right>
|
||||
@@ -41,6 +43,8 @@ export default {
|
||||
this.$store.dispatch('sprinklers/load')
|
||||
console.log('sprin', this.sprinklers)
|
||||
}
|
||||
|
||||
click()
|
||||
}
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user