no message

This commit is contained in:
kuaifan
2024-11-10 23:09:07 +08:00
parent e2cec420fa
commit 047771e6f8
8 changed files with 13 additions and 5 deletions
+4
View File
@@ -1016,6 +1016,10 @@ class WebSocketDialogMsg extends AbstractModel
throw new ApiException('保存地图快照失败');
}
$imageSize = getimagesize($filePath);
if ($imageSize[0] < 20 || $imageSize[1] < 20) {
throw new ApiException('地图快照尺寸太小');
}
$msg['thumb_original'] = $msg['thumb'];
$msg['thumb'] = $fileUrl;
$msg['width'] = $imageSize[0];
$msg['height'] = $imageSize[1];
+1
View File
@@ -727,6 +727,7 @@ webhook地址最长仅支持255个字符。
错误的定位签到。
获取地图快照失败
保存地图快照失败
地图快照尺寸太小
项目负责人
项目成员
+2
View File
@@ -1787,3 +1787,5 @@ WiFi签到延迟时长为±1分钟。
仅支持移动端App
暂未开放定位签到。
错误的定位签到。
正在会议中,无法进入其他会议室
-1
View File
@@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title></title>
<!-- 百度地图API -->
<link rel="stylesheet" href="./style.css">
</head>
<body>
+3 -1
View File
@@ -85,7 +85,9 @@
delete object.callback
}
$A.eeuiModule("eeui").then(obj => {
obj.openPage(object, callback);
obj.openPage(Object.assign({
softInputMode: "resize",
}, object), callback);
})
},
@@ -19,7 +19,8 @@ export default {
backgroundImage: `url(${thumb})`,
}
if (width && height) {
style.backgroundSize = `${width}px ${height}px`;
const scale = $A.scaleToScale(width, height, 600);
style.backgroundSize = `${scale.width}px ${scale.height}px`;
}
return style;
}
@@ -4,7 +4,6 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<title></title>
<!-- 百度地图API -->
<link rel="stylesheet" href="./style.css">
</head>
<body>