From f799c12c7f667387950baef03833a71cbad4b7aa Mon Sep 17 00:00:00 2001
From: shuishen <1109946754@qq.com>
Date: Wed, 09 Feb 2022 13:43:02 +0800
Subject: [PATCH] 部分修改

---
 src/pcviews/tool/sign.vue |   23 ++++++++++++++++++-----
 1 files changed, 18 insertions(+), 5 deletions(-)

diff --git a/src/pcviews/tool/sign.vue b/src/pcviews/tool/sign.vue
index bd796be..acc0f09 100644
--- a/src/pcviews/tool/sign.vue
+++ b/src/pcviews/tool/sign.vue
@@ -1,15 +1,28 @@
 <template>
-   <div>
-456
-   </div>
+    <div>456</div>
 </template>
 
 <script>
-export default {
+import { mapGetters } from 'vuex'
 
+export default {
+    data () {
+        return { DC: null }
+    },
+    computed: {
+        ...mapGetters(['viewer'])
+    },
+    created () {
+        var that = this
+        that.DC = global.DC
+        that.viewer.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => {
+            that.viewer.tooltip.showAt(e.windowPosition, '我是鼠标提示')
+        })
+    },
+    methods: {},
+    destroyed () {}
 }
 </script>
 
 <style>
-
 </style>

--
Gitblit v1.9.3