李成元

Results 6 comments of 李成元

朋友,1~21中,1,10,11,12,13,14,15,16,17,18,19,21,这些数字带有1,其中11有两个。所以总数为13.不是5. ``` function fn(位数) { if (位数 == 1) { // 个位数中只有1个'1' return 1; } else { // 此外2,3,4位数都包含1开头的10^n-1个数,和9*上一位中含1的数量。 return Math.pow(10, 位数 - 1) + 9 * fn(位数 - 1);...

"moduleResolution": "bundler" 使用这个配置后,从element-plus导出的组件类型找不到了。 import type { FormInstance } from 'element-plus' // 模块"element-plus"没有导出的成员"FormInstance"

> > "moduleResolution": "bundler" 使用这个配置后,从element-plus导出的组件类型找不到了。 import type { FormInstance } from 'element-plus' // 模块"element-plus"没有导出的成员"FormInstance" > > 我这里没有这个问题呐 ![image](https://user-images.githubusercontent.com/20277731/236425289-31f8825a-3680-4625-ac42-e7c0e16aaef8.png) 你的package.json中有type:"module"吗

> > > > "moduleResolution": "bundler" 使用这个配置后,从element-plus导出的组件类型找不到了。 import type { FormInstance } from 'element-plus' // 模块"element-plus"没有导出的成员"FormInstance" > > > > > > > > > 我这里没有这个问题呐 ![image](https://user-images.githubusercontent.com/20277731/236425289-31f8825a-3680-4625-ac42-e7c0e16aaef8.png) > > >...

same question! so wried that when this happen, it must take 1.1min to finish。 why 1.1min...... 我也遇到了这个问题,设备是mbp 2020, 系统是Monterey12.3.1。 偶现通过devServer调接口时非常慢,但是每次1.1min后又会响应。 通过查看Nginx发现请求根本没有到我配的proxy的target上,这1.1min就是消耗在我的本机。 而且相同的代码和配置,换一台设备就好了...... 如果这是bug,希望能尽快解决,很影响工作......

Thank you for your reply. This project accesses the server through Nginx forwarding. I first request the frontend static resource server and then forward it to the corresponding backend service...