移动端100vh的问题与解决方案

之所以100vh在移动端出现问题,原因大致如上图,真搞不懂,为什么总是有反人类的设计出现。

经过多方参考,实测有效的方案如下:

 

使用:
[crayon-660668449466b36409652[……]

You are currently using minified code outside of NODE_ENV === ‘production’. This means that you are running a slower development build of Redux. You can use loose-envify (https://github.com/zertosh/loose-envify) for browserify or DefinePlugin for webpack (http://stackoverflow.com/questions/30030031) to ensure you have the correct code for your production build.

You are currently using minified code outside of NODE_ENV === ‘production’. This means that you are running a slower development build of Redux. You c[……]

vite.config.ts基础配置分享

更多配置参考:https://vitejs.dev

vite.config.ts

 

 

.env

 

&[……]

element-ui 表格控制列显隐简单方案

核心是使用v-if控制列的显隐