liyongli il y a 2 ans
Parent
commit
37db6e39aa
1 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 4 2
      src/components/head.vue

+ 4 - 2
src/components/head.vue

@@ -6,6 +6,7 @@
       </el-icon> -->
       <img
         style="vertical-align: middle"
+        @click="back"
         class="sx_logo_img"
         src="https://media.sxtvs.com.cn/images/sx_logo.svg"
         alt=""
@@ -16,9 +17,10 @@
 </template>
 
 <script setup>
-// function back() {
+function back() {
 //   window.history.go(-1);
-// }
+    window.location.href = "https://home.sxtvs.com.cn"
+}
 </script>
 
 <style scoped>