Season Chen

Results 14 issues of Season Chen

### 相关平台 微信小程序 ### 复现仓库 [https://github.com/ccqgithub/taro-bug-repo.git](https://github.com/ccqgithub/taro-bug-repo.git) **小程序基础库: 2.12.3** **使用框架: Vue 3** ### 复现步骤 使用vue3 setup导入组件 ```vue import { View } from '@tarojs/components' import './index.scss' import Counter from '../../components/Counter.vue' ``` 报错:...

V-3
F-vue3
T-weapp

```js const d = new Date('1986-9-14 01:00:00'); const d1 = utcToZonedTime(d, 'Asia/Shanghai'); console.log('d1', d1.getTime()); const d2 = utcToZonedTime( new Date(d1.getTime() + 60 * 60 * 1000), 'Asia/Shanghai' ); console.log('d2', d2.getTime());...

With [vscode-stylelint](https://github.com/stylelint/vscode-stylelint), throw errors when typing, similar with [relative issue](https://github.com/stylelint/vscode-stylelint/issues/378). * Node Version: v16.15.1 * NPM Version: 8.11.0 * postcss Version: 8.4.14 * postcss-less Version: 6.0.0 If you have a...

c³ ⋅ PR welcome

貌似生成的`.vue.d.ts`文件中没有`scopedSlots props`的类型信息? Volar在本项目中引用vue文件时,有提示slots类型,生成库之后第三方引用组件时,`slot props` 变为了`any`。 相关issue: https://github.com/johnsoncodehk/volar/discussions/640

### Description 现在,现代浏览器的polyfills只能基于 `{ esmodules: true }`,不能自定义,希望新增一个参数来自定义。 ### Suggested solution 添加一个`modernTargets`参数,传给`@vitejs/plugin-legacy`,如: ```ts legacy({ targets: ['chrome 87', 'safari 13', 'firefox 78', 'edge 88'], modernPolyfills: true, modernTargets: { browsers: [ // 'defaults',...

plugin: legacy
enhancement: pending triage

现在,Dropdown有一个bug,如果触发滚动的元素在一个可以滚动的div内,div滚动时dropdown的位置不会更新。 虽然现在有一个getPopupContainer的属性,但是这个属性局限性很大,比如有下面两个问题: 一:zIndex的问题,如果dropdown的popup在div内,有时候会被遮挡。 二:多层滚动嵌套时。 解决方法:监听所有的滚动事件, 只要是trgger的父元素滚动,就重新定位。 这里使用事件捕获而不是事件冒泡,因为滚动事件不会冒泡到根元素。 下面这个PR是我本地用的解决方法,希望把这个特性加进来,代码供参考: https://github.com/react-component/align/pull/126

现在,Dropdown有一个bug,如果触发滚动的元素在一个可以滚动的div内,div滚动时dropdown的位置不会更新。 虽然现在有一个getPopupContainer的属性,但是这个属性局限性很大,比如有下面两个问题: 一:zIndex的问题,如果dropdown的popup在div内,有时候会被遮挡。 二:多层滚动嵌套时。 解决方法:监听所有的滚动事件, 只要是trgger的父元素滚动,就重新定位。 这里使用事件捕获而不是事件冒泡,因为滚动事件不会冒泡到根元素。

触发条件: 1.依赖第三方插件时:require('plugin/jquery/jquery.js')。 2.fis-postprocessor-amd的‘globalAsyncAsSync’配置项为true。 3.fis-postpackager-autoload的‘useSiteMap’为false。 因为useSiteMap关闭,而autoload将依赖的文件提前加载,所以会将对应的资源从 resourceMap 中删除,但是插件没有经过mod处理,所以没有 define。。 所以在页面加载的时候,因为 resourceMap 里没有插件的配置,所以会以错误的路径重新加载js(其实已经提前加载了,只是在resourceMap里找不到),从而报错。 建议: 将 return file && !file.isCssLike && !usedSync[dep]; 改为 return !file.isMod || (file && !file.isCssLike && !usedSync[dep]); 或者在roadmap增加一项 'isExt:...

http://bulma.io/documentation/overview/start/

如题,就像fis3-hook-commonjs 那样,现在fis3-hook-commonjs通过ignoreDependencies忽略的文件还是会被`fis3-hook-node_modules`找到。。