摘要:
var vm = new Vue({ data: { a: 1 }, computed: { // 仅读取 aDouble: function () { return this.a * 2 }, // 读取和设置 aPlus: { get: function () { return this.a + 阅读全文
posted @ 2020-12-16 15:10
otome
阅读(123)
评论(0)
推荐(0)
摘要:
因为级联选择器el-Cascader应该通过v-model来绑定值而不是:value 但是结果还是不能修改他绑定的值,这是因为绑定的是计算属性 见下 阅读全文
posted @ 2020-12-16 15:07
otome
阅读(722)
评论(2)
推荐(0)

浙公网安备 33010602011771号