v-for and v-if not working together in vue.js

后端 未结 6 1321
轻奢々
轻奢々 2020-12-16 13:27

A form is used to submit text and two options which tell vue which column to display the text in. When the col2 radio button is checked the submitted text should display in

6条回答
  •  时光取名叫无心
    2020-12-16 13:57

    methods: { checkThis(i) { return this[i]; } }, computed: { myComputedProperty() { return this.$store.state.something ? true : false; } }

提交回复
热议问题