no commit message

This commit is contained in:
niandeng
2022-03-02 11:57:49 +08:00
parent ab60d4b128
commit 0c0217fdde
2 changed files with 11 additions and 4 deletions
+10 -3
View File
@@ -372,6 +372,13 @@
*/ */
CV=createlDiv('ck-video'); CV=createlDiv('ck-video');
CM.append(CV); CM.append(CV);
/*
* 如果已存在video.则先设置成空
*/
if(video){
video.remove();
video=null;
}
/* /*
* 如果video指向一个已存在的video标签对象,则直接调用该对象 * 如果video指向一个已存在的video标签对象,则直接调用该对象
*/ */
@@ -3195,6 +3202,8 @@
isChangeDef=true; isChangeDef=true;
CT.unbind(); CT.unbind();
video.unbind(); video.unbind();
video.remove();
video=null;
if(!isUndefined(C['menu'])){ if(!isUndefined(C['menu'])){
C['menu'].remove(); C['menu'].remove();
} }
@@ -6529,9 +6538,7 @@
try { try {
successFun(eval('(' + xhr.responseText + ')')); //回调传递参数 successFun(eval('(' + xhr.responseText + ')')); //回调传递参数
} }
catch(event) { catch(event) {}
errorFun({code:xhr.status,message:xhr.statusText});
}
} else { } else {
successFun(xhr.responseText); //回调传递参数 successFun(xhr.responseText); //回调传递参数
} }
+1 -1
View File
File diff suppressed because one or more lines are too long