zystudios
zystudios
> 麻烦问下,yapi的插件 [export-docx-data](https://github.com/inceptiongt/Yapi-plugin-export-docx-data) 数据导出docx文档 [interface-oauth-token](https://github.com/shouldnotappearcalm/yapi-plugin-interface-oauth2-token) 定时自动获取鉴权token的插件 [import-swagger-customize](https://github.com/follow-my-heart/yapi-plugin-import-swagger-customize) 导入指定swagger接口 这些对yapi的版本有要求吗? > > 我使用如下的node版本呢,yapi 1.12.0和1.9.2都尝试安装插件,ykit都编译不过,文档太不友好了,什么版本关系都不写,谢谢 [root@iZ2zecfhh6x8qvhg4it0oaZ vendors]# node -v v10.24.1 [root@iZ2zecfhh6x8qvhg4it0oaZ vendors]# npm -v 6.14.12 > > ``` > [root@iZ2zecfhh6x8qvhg4it0oaZ vendors]# NODE_ENV=production...
参考 https://github.com/YMFE/yapi/issues/2727 ``` //如果不想把第三方库打包到bundle中,就用externals解决 baseConfig.externals= { fs: require('fs'), net: require('net'), dns: require('dns'), tls: require('tls'), child_process: require('child_process'), } ; ```
最新版本默认关闭了,需要手动开启 因为vm2沙箱组件有bug,不会关闭进程,造成内存爆掉,vm2没有修复
https://github.com/YMFE/yapi/blob/master/.npmrc 把这里面的地址改了,否则node-sass 会 404无法下载
临时解决办法,加个宽度 style可以暂时解决
> 1. 间隙是精度问题,trigger 组件强制对齐到整数可能能解 > 2. Tour 的宽度可以在 TourStep 使用 style 修改 @MadCcc 感谢,果然在step里可以写css,这个文档是不是补充一下,没提有style ,https://ant.design/components/tour-cn
可以自己写style,children里面包一层,设置maxHeight和overflow即可
win的缩放确实会造成一些显示问题,不光是web,app我缩放都有错位的。。。
I've got the same problem.
> Hi! as I see we have to check the following expression if self.advanced_mode: instead a full one thanks, I'm guessing that monkey.patch_all made the function execution at the same...