|
|
@@ -709,7 +709,7 @@
|
|
|
</div>
|
|
|
|
|
|
<script>
|
|
|
- const requesturl = window.location.href.indexOf("localhost") > -1 ? "http://localhost:11111" : "http://183.36.25.93:888/";
|
|
|
+ const requesturl = window.location.href.indexOf("localhost") > -1 ? "http://localhost:11111/" : "http://183.36.25.93:888/";
|
|
|
console.log("requesturl:", requesturl);
|
|
|
|
|
|
const nowTime = new Date();
|
|
|
@@ -809,7 +809,10 @@
|
|
|
// 删除添加的表单
|
|
|
addList.forEach((item, idx) => {
|
|
|
let formDiv = html.querySelector(`div#addformContainer${item}`);
|
|
|
- html.removeChild(formDiv);
|
|
|
+ if(formDiv){
|
|
|
+ html.removeChild(formDiv);
|
|
|
+ }
|
|
|
+
|
|
|
});
|
|
|
addList = []
|
|
|
num = 1
|