diff --git a/src/layout/components/UserInfo/src/UserInfo.vue b/src/layout/components/UserInfo/src/UserInfo.vue index 355aabc8..49231c5f 100644 --- a/src/layout/components/UserInfo/src/UserInfo.vue +++ b/src/layout/components/UserInfo/src/UserInfo.vue @@ -68,10 +68,10 @@ const toDocument = () => {
{{ t('common.profile') }}
- +
{{ t('lock.lockScreen') }}
diff --git a/src/views/Profile/Index.vue b/src/views/Profile/Index.vue index 8e1695b5..b2123b26 100644 --- a/src/views/Profile/Index.vue +++ b/src/views/Profile/Index.vue @@ -22,9 +22,9 @@ - + diff --git a/src/views/mapPage/logList/index.vue b/src/views/mapPage/logList/index.vue index 3aa70f45..ce051036 100644 --- a/src/views/mapPage/logList/index.vue +++ b/src/views/mapPage/logList/index.vue @@ -253,8 +253,20 @@ 异常 - - + + { pHeight } } - // 计算直线中间箭头的路径 const getLineMidArrowPath = (item) => { const midX = (Number(item.startPointX) + Number(item.endPointX)) / 2 @@ -2738,7 +2737,6 @@ const getLineMidArrowPath = (item) => { return `M ${startXArrow} ${startYArrow} L ${endXArrow} ${endYArrow}` } - // 计算贝塞尔曲线中间箭头的路径(简单近似) const getBezierMidArrowPath = (item) => { const path = document.createElementNS('http://www.w3.org/2000/svg', 'path') @@ -2748,7 +2746,6 @@ const getBezierMidArrowPath = (item) => { const prevPoint = path.getPointAtLength(length / 2 - 1) return `M ${prevPoint.x} ${prevPoint.y} L ${midPoint.x} ${midPoint.y}` } - // 计算贝塞尔曲线中间文字的 x 坐标 const computedCurveTextX = (item) => { return ( @@ -2759,7 +2756,6 @@ const computedCurveTextX = (item) => { 4 ) } - // 计算贝塞尔曲线中间文字的 y 坐标 const computedCurveTextY = (item) => { return ( @@ -2770,7 +2766,6 @@ const computedCurveTextY = (item) => { 4 ) } - document.onmousedown = function (e) { //左击 if (e.button == 2) {