lyleChen

Results 9 issues of lyleChen

首先感谢作者提供这个demo,一股清泉,网上资料太乱了,能提供一个热敏打印的demo格式就更好了。

ERROR Failed to compile with 1 errors error in ./src/hello/hello.node Module build failed (from ./node_modules/node-loader/dist/cjs.js): TypeError: this.getOptions is not a function at Object.loader (C:\desk\nest-frontend-desk\node_modules\node-loader\dist\index.js:22:24) @ ./src/background.js 8:0-39 10:12-17 @ multi...

在测试中发现,node合并多个分片后无法使用。比如分片大于5个的视频,合并后,视频后面无法播放了。 错误原因是: let chunks = fs.readdirSync(chunksPath); chunks 中的顺序是错误的,造成合并出来不能播放. let chunks = fs.readdirSync(chunksPath); -------增加下面排好顺序即可--------- chunks = chunks.sort(function (a, b) { var _a = a.split('-'); var _b = b.split('-'); var _na =...

你好,SSR 热更新,每次监听到文件变化是OK的,但监听后是需要重新实例,client和service都需要重新编译???比如编译需要60秒,修改一个地方热更新就需要60秒+。 这个太慢了,是否有解决方案,优化加载热更新编译. 我是参考官网的demo实施的项目,请问你是否有解决方案。

### Reproduction link [https://github.com/maximegris/angular-electron](https://github.com/maximegris/angular-electron) ### Steps to reproduce select 使用查询功能,在electron下,tab切换到输入后第一次中文输入法,无法展示查询下拉。 问题已经基本定位出来,查看源码,select.component.ts使用keydown事件,切换下拉dom的显隐状态。 在浏览器内,中文输入法会触发keydown事件,一切正常。 在electron中,中文输入法不会触发keydown事件,下拉dom无法显示。 如果后续触发了keydown事件,则会正常,只会出现在tab切换到select(如果是点击已经被激活了),中文输入法输入中文后,不会触发keydown事件,从而无法展示查询下拉。 测试环境: 从https://github.com/maximegris/angular-electron下载代码,然后使用dev模式 npm run electron:serve监听4200端口,本地启动NG-ZORRO-ANTD的源码,即可调试验证。 ### What is expected? 可以增加输入法事件监听或者监听值改变触发,这样可以兼容electron环境 ### What is actually happening? electron环境下中文输入法,tab切换到select下无法展示下拉搜索...

Component: Select

"num": function({ _req, Mock }) { //Mock.Random.increment(-Mock.Random.increment()) return Mock.mock('@increment()') //return Mock.Random.increment() }, 使用Mock.Random.increment(-Mock.Random.increment())清零后为1后,注释掉。 然后请求,接口返回40003,mockjs文档是从1开始的? 是否支持的内置mock.js需要升级了?

![image](https://user-images.githubusercontent.com/1927864/211231168-a8d51a93-2c43-4233-890f-0fb48186e32d.png) ![image](https://user-images.githubusercontent.com/1927864/211231197-e777e25c-ad68-4b3c-9982-f362e4a72a4d.png)

安装依赖提示报错: $ npm install react-router-cache-route --save npm WARN deprecated [email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info. npm WARN [email protected] requires a peer of react@^0.14.0 ||...

都做到了90+%多了,剩下点体力活了。 增加填写配置的界面,同时导出A到B或者导出B到A,目前默认是在线导入到本地,而本地导入到在线,或者本地之间互相导,需要修改点代码,easy-mock本地互相迁移,需求应该还是比较多的,完善了这点,相信这个工具的价值会体现的更好。 额外easy-mock的本地配置环境是否可以在简化或者优化,方便使用,目前有点繁琐。