瀏覽代碼

bug 修复

lilei 5 年之前
父節點
當前提交
aaebeeb548
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      poster.html

+ 1 - 3
poster.html

@@ -165,6 +165,7 @@
 		function plusReady(){
 			bitmap = new plus.nativeObj.Bitmap();
 			document.getElementById("save-txt").display = "none"
+			$("#cancel-btn").hide()
 		}
 		// 保存到相册
 		function savePhoto(dataURL){
@@ -278,9 +279,6 @@
 							//  取消
 							document.getElementById('cancel-btn').onclick = function(){
 								history.go(-1)
-								if(window.plus){
-									uni.navigateBack()
-								}
 							}
 						}
 					}else{