Эх сурвалжийг харах

🦄 refactor(App): 移除未使用的脚本和样式,优化组件结构

陈雪 3 долоо хоног өмнө
parent
commit
09476155be
1 өөрчлөгдсөн 3 нэмэгдсэн , 21 устгасан
  1. 3 21
      src/App.vue

+ 3 - 21
src/App.vue

@@ -1,26 +1,8 @@
-<script setup>
-import { ref, } from "vue";
-import { invoke } from "@tauri-apps/api/core";
-
-const greetMsg = ref("");
-const name = ref("");
-
-async function greet() {
-  // Learn more about Tauri commands at https://tauri.app/develop/calling-rust/
-  greetMsg.value = await invoke("greet", { name: name.value });
-}
-</script>
-
 <template>
   <RouterView />
 </template>
-
-<style scoped>
-
-</style>
 <style>
-.hide-bar::-webkit-scrollbar {
-  display: none;
-}
-
+  .hide-bar::-webkit-scrollbar {
+    display: none;
+  }
 </style>