From 8383f42bfa5dbc244e981ce6b2490c3fa9d001bc Mon Sep 17 00:00:00 2001
From: liuyg <376836862@qq.com>
Date: Wed, 09 Feb 2022 15:54:22 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.105:10010/r/school-web

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

diff --git a/src/pcviews/tool/sign.vue b/src/pcviews/tool/sign.vue
index bd796be..b361e48 100644
--- a/src/pcviews/tool/sign.vue
+++ b/src/pcviews/tool/sign.vue
@@ -1,15 +1,29 @@
 <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.tooltip.enable = true
+        that.viewer.on(that.DC.MouseEventType.MOUSE_MOVE, (e) => {
+            that.viewer.tooltip.showAt(e.windowPosition, '我是鼠标提示')
+        })
+    },
+    methods: {},
+    destroyed () { }
 }
 </script>
 
 <style>
-
 </style>

--
Gitblit v1.9.3