aisen60

Results 3 comments of aisen60

```javaScript const compose = (...args) => value => args.reverse().reduce((acc, fn) => fn(acc), value) ```

@wswmsword 我发现一些奇怪的现象,例如: ❌ maxDisplayWidth 属性不生效 : ```css html, body, #app { height: 100%; font-family: var(--van-base-font); font-size: 28px; background-color: var(--app-theme-background-color-body); color: var(--app-theme-text-color-1); } ``` ❌ maxDisplayWidth 属性不生效 : ```css html, body...

> @Aisen60 `appSelector` 是需要在样式中定义,而且和样式中的选择器是全等匹配,不过不一定需要赋值,如果是需要赋值才能生效,是不是项目里有其它插件在 mobile-forever 之前做了消除空选择器样式代码优化产包的操作。 > > 前两个“❌ maxDisplayWidth 属性不生效” 的例子没看懂,是说 `font-size: 28px;` 没有被转换的意思吗? 嗯嗯,应该是有其他插件做了消除空选择器样式代码优化