lentoo
lentoo
[...new Set(arr.flat(Infinity))].sort((a, b) => a -b )
function move (arr) { let counter = 0 for (let index = 0; index < arr.length; index++) { const item = arr[index]; if (item === 0) { arr.splice(index, 1) counter++...
> @lentoo 升级到3.0.8试试 升级到3.0.19后,现在不报错了,但是页面是空白,没内容显示
一样的环境,一样的问题
如果你不想 px 自动转换 为 vw 的话,把 根目录下的postcss.config.js 里的这个 postcss-px-to-viewport 配置去掉
异步数据获取的,可以看看官方文档 https://ssr.vuejs.org/zh/guide/data.html
要ssr的话,就要使用起node服务。可以用nginx转发请求到你的node服务上
> Taro 使用的是vite+vue3+ts 使用不生效 Taro版本能发一下吗?我瞧瞧
> 应该是源码里这个Blcok组件的问题,这里建议直接返回props.children就可以了 > > ``` > if (!props.loading) { > return {props.children} > } > ``` 好的,我看下