Results 3 issues of flym_

文本便签遮挡想通过 label layout 配置来解决这个问题,但按照G2的配置设置之后,没有任何效果 ``` const label = ['name', { offset: 0, textStyle: { textBaseline: 'middle', }, layout:{ type:'limit-in-shape' }, formatter(val) { // console.log(val); if (val !== 'root') { return...

我现在按照uniapp的方式,main.js 里进行全局导入和注册,但无法在页面直接使用 ` import test from './components/test' Vue.component('test1',test) ` 在页面无法直接使用test1这个组件

浏览器缩放的时候,scrollLeft+ 1会被设置成 1 * window.devicePixelRatio, 如果结果小于1就会被判定成+ 0, 所以需要保证每次变化的值大于1 const ratio = parseFloat((1 / window.devicePixelRatio).toFixed(2) ) + 0.01 // + 0.01 为了保证 ratio >= 1 dom1.scrollLeft= dom1.scrollLeft+ ratio