Commit b08ea6b2 by lichenggang

修复文件多时html显示不全

parent e1e29920
......@@ -10,8 +10,9 @@
<div style="font-size: 20px" >选择服务器</div>
<div id="files" style="display: none">{{ . }}</div>
<div id="show"></div>
<div id="show" style="overflow-y: scroll;"></div>
<script>
$("#show").height(document.documentElement.scrollHeight-50)
files = document.getElementById("files").innerHTML
snsArr=files.split("~~");
snsArr.forEach((item, index)=>{
......
......@@ -9,8 +9,10 @@
<body>
<div style="font-size: 20px">选择服务</div>
<div id="files" style="display: none">{{ . }}</div>
<div id="show"></div>
<div id="show" style="overflow-y: scroll;"></div>
<script>
$("#show").height(document.documentElement.scrollHeight-50)
files = document.getElementById("files").innerHTML
snsArr=files.split("~~");
snsArr.forEach((item, index)=>{
......
......@@ -9,8 +9,10 @@
<body>
<div style="font-size: 20px">选择日志文件</div>
<div id="files" style="display: none">{{ . }}</div>
<div id="show"></div>
<div id="show" style="overflow-y: scroll;"></div>
<script>
$("#show").height(document.documentElement.scrollHeight-50)
files = document.getElementById("files").innerHTML
snsArr=files.split("~~");
snsArr.forEach((item, index)=>{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment