问题: - did you register the component correctly......
问题:无法使用tree组件
提示 Unknown custom element:<a-tree> - did you register the component correctly? For recursive components, make sure to provide the “name” option.
原因 按需加载默认未引入tree组件


第一种方式使用data<view @click="handleClick" data-info="大家好">点击按钮</v…
复选框选择默认选择,但是不要使用属性手上的checked,否则渲染后无法动态修改,有defaultChecked方法,但是测试无效,所以使用valuePropName:˂a-checkbox styl…
这段时间,vue写的多了,习惯了es6的方式写函数,但是这种写法很容易导致this失效,比如刚刚发布的vue深度监听的问题,用了es6的写法,this就没法用,换回传统写法就可以了。// es6写法,…
演示代码//核心代码 function promiseMain(page) { return new Promise(function(resolve,&…
官网上的getCheckboxProps中的disabled的值是record.name==="XXX",我在用的过程中肯定是一个list,然后我就想用函数返回true或false…