浏览代码

Merge branch 'dev5.4.1' into dev/new1

luolei 5 年之前
父节点
当前提交
82dc32f2ad
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/components/TemplateItems/index.jsx

+ 1 - 1
src/components/TemplateItems/index.jsx

@@ -26,7 +26,7 @@ class TemplateItems extends React.Component {
     }  
     componentDidMount(){
         const height = getWindowInnerHeight()-195;
-        this.$cont.current.style.height = height/2+"px";
+        this.$cont.current.style.height = height+"px";
         windowEventHandler('resize', ()=>{
             if(this.$cont.current){
                 const height = getWindowInnerHeight()-195;