Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
map-demo
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-03-05 17:04:33 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a3f5e3f959e2e2e23b4a09f137152dbfd83571f4
a3f5e3f9
1 parent
a6e7501b
fix 切图工具样式优化
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
src/views/mapCutter.vue
src/views/mapCutter.vue
View file @
a3f5e3f
<!--
* @Date: 2025-01-22 11:40:12
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-03-05 1
6:10:58
* @LastEditTime: 2025-03-05 1
7:03:20
* @FilePath: /map-demo/src/views/mapCutter.vue
* @Description: 文件描述
-->
...
...
@@ -432,7 +432,7 @@ const rotateMap = (deltaAngle) => {
// 检查是否超出 -10 到 10 的范围
if (newRotation > 10 || newRotation < -10) {
ElMessage({
message: '
超过操作范围
',
message: '
旋转角度到达极限
',
type: 'warning',
plain: true,
})
...
...
@@ -520,7 +520,7 @@ const rotateMap = (deltaAngle) => {
// 1秒后重置旋转状态
setTimeout(() => {
isRotating.value = false;
},
10
00);
},
3
00);
};
};
...
...
@@ -660,8 +660,9 @@ const onRatioBlur = () => {
.controls-container {
opacity: 0.7;
position: absolute;
top:
8
rem;
top:
5
rem;
right: 10px;
display: flex;
flex-direction: column;
...
...
Please
register
or
login
to post a comment