From 9a6cd220224fd3a9a6c84b5bb37c6410a470969f Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 17 三月 2026 17:53:21 +0800
Subject: [PATCH] 考点核验
---
src/App.vue | 21 +++++++++++++++++----
1 files changed, 17 insertions(+), 4 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index b2e0d57..a4fb8fd 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -4,10 +4,23 @@
</div>
</template>
-<script setup>
-// import { useWindowSize } from '@/utils/hook.js'
-
-// const { width, height } = useWindowSize()
+<script>
+import { isWeixin } from '@/utils/UA.js'
+import { getWxSignature } from '@/utils/wxjssdk.js'
+export default {
+ data() {
+ return {
+
+ }
+ },
+ watch: {
+ '$route.path': function(){
+ if (isWeixin) {
+ getWxSignature(this.$route)
+ }
+ },
+ }
+}
</script>
<style scoped>
--
Gitblit v1.8.0