尢尢12344
尢尢12344
因为 electron 版本太高,对应的 chromium 版本不支持 `html imports`。 解决方法: 在 package.json 中降低 electron 的版本为 `^7.2.4`。 package-lock.json 中删除 "electron"。 Because the electron version is too high, the corresponding chromium version does not...
最后还是直接修改 iview 的 style 中的 custome.less 吧~
原本使用了 iview-theme 这个官网工具,但是因为更新不及时有各种问题(字体,动画等)。 研究了一下发现了更加简便的方法,就是直接修改 iview 源码中的 custome.less 文件,然后 build:style。 具体步骤如下: 1、拉取 [iview 源码](https://github.com/iview/iview) 2、修改 src/styles/custom.less 3、执行 npm run build:style 4、复制 dist/styles 这个文件夹中的所有内容,就等同于使用 iview-theme 生成的。
### 🍓 2.7.1、小程序中使用`echarts-tooltip`遇到的问题 #### 1、如何换行? > 用 \n 换行,小程序版echarts使用富文本渲染,不支持html #### 2、怎么显示图例的小圆点? > 用 formatter,彩色的圆点用 '{marker0at0|}', {marker1at0|}, {marker2at0|}' 分别表示第 0、1、2 个系列,可能实现得不是很美,但是至少暂时可以这么用着。 #### 3、不支持`renderMode: html` #### 最终解决🚀 ```js formatter : function(params) {...