April-Zheng

Results comments of April-Zheng

保留组件状态 避免重新渲染

`'obj.xx': { handler: function(val) {}, deep:true }`

beforeCreate, created, beforeMount, mounted

1、绝对路径直接引入 在index.html中用script引入 `` 然后在webpack中配置external `externals: { 'jquery': 'jQuery' }` 在组件中使用时import `import $ from 'jquery'` 2 、在webpack中配置alias `resolve: { extensions: ['.js', '.vue', '.json'], alias: { '@': resolve('src'), 'jquery': resolve('static/jquery-1.12.4.js') } }`...

在切换tab时 第二个tab的图表无法正常显示 切换tab时使用方法@tab-click="handleClick"加载图表的render函数