diff --git a/pages/demo/other/sign.uvue b/pages/demo/other/sign.uvue
index a52c87e..6fdb729 100644
--- a/pages/demo/other/sign.uvue
+++ b/pages/demo/other/sign.uvue
@@ -1,6 +1,6 @@
-
+
@@ -10,7 +10,7 @@
-
+
@@ -22,11 +22,10 @@
diff --git a/uni_modules/cool-ui/components/cl-cropper/cl-cropper.uvue b/uni_modules/cool-ui/components/cl-cropper/cl-cropper.uvue
index 9b281c0..675ebb9 100644
--- a/uni_modules/cool-ui/components/cl-cropper/cl-cropper.uvue
+++ b/uni_modules/cool-ui/components/cl-cropper/cl-cropper.uvue
@@ -521,8 +521,6 @@ function initCrop() {
container.height = windowHeight;
container.width = windowWidth;
- console.log(container);
-
// 设置裁剪框尺寸为传入的初始值
cropBox.width = props.cropWidth; // 设置裁剪框宽度
cropBox.height = props.cropHeight; // 设置裁剪框高度
@@ -633,7 +631,7 @@ function onImageLoaded(e: UniImageLoadEvent) {
nextTick(() => {
// 执行初始化流程
- initCrop(); // 初始化裁剪框位置和尺寸
+ reset(); // 重置裁剪框
setInitialImageSize(); // 设置图片初始显示尺寸
adjustBounds(); // 调整图片边界确保覆盖裁剪框
});
diff --git a/uni_modules/cool-ui/components/cl-popup/cl-popup.uvue b/uni_modules/cool-ui/components/cl-popup/cl-popup.uvue
index b074c21..8a8bc70 100644
--- a/uni_modules/cool-ui/components/cl-popup/cl-popup.uvue
+++ b/uni_modules/cool-ui/components/cl-popup/cl-popup.uvue
@@ -376,8 +376,6 @@ function onTouchStart(e: UniTouchEvent) {
* 计算手指移动距离,更新弹出层位置
*/
function onTouchMove(e: UniTouchEvent) {
- console.log(111);
-
if (swipe.isTouch) {
// 标记为移动状态
swipe.isMove = true;
diff --git a/uni_modules/cool-ui/components/cl-sign/cl-sign.uvue b/uni_modules/cool-ui/components/cl-sign/cl-sign.uvue
index 83db6a9..d32cb43 100644
--- a/uni_modules/cool-ui/components/cl-sign/cl-sign.uvue
+++ b/uni_modules/cool-ui/components/cl-sign/cl-sign.uvue
@@ -32,7 +32,7 @@ const props = defineProps({
// 画布宽度
width: {
type: Number,
- default: () => uni.getWindowInfo().windowWidth
+ default: 300
},
// 画布高度
height: {