FEProjectDemos icon indicating copy to clipboard operation
FEProjectDemos copied to clipboard

Vue学习中使用的demo

Results 3 FEProjectDemos issues
Sort by recently updated
recently updated
newest added

大神你好请问 vm.$el 输出为 怎么回事?

大神你好,我参考了你的vue单元测试博客,你的demo没有使用i18n国际化,我的有使用,并且我是这样引入i18n的 import i18n from '@/lang' Vue.use(Element, { size: 'medium', // set element-ui default size i18n: (key, value) => i18n.t(key, value) }) 可是它报错了 信息为 ERROR LOG: TypeError: undefined is not an...

是不是由于vue.component('componentName',opts:默认为vue.extend),由于vue.extend已经处理过一次options了。所以这里可以直接赋值options而不用管mixin合并策略和mixin/directive这些,即else的分支 ![image](https://user-images.githubusercontent.com/30102330/38950890-7b405174-4379-11e8-88e5-9eb2a7160292.png)