linqilong vor 1 Woche
Ursprung
Commit
862463b5a2
1 geänderte Dateien mit 8 neuen und 2 gelöschten Zeilen
  1. 8 2
      src/views/HomeView.vue

+ 8 - 2
src/views/HomeView.vue

@@ -1,11 +1,17 @@
 <template>
-<iframe class="home-wrapper" src="https://27.156.118.74:19901/statistics/index.html?type=1" ></iframe>
+  <iframe :src="`https://27.156.118.74:19901/statistics/index.html?type=${appStore.ownApp}`"
+          class="home-wrapper"></iframe>
 </template>
+<script setup>
+import {useAppStore} from "@/stores/app";
+
+const appStore = useAppStore();
+</script>
 <style lang="scss" scoped>
 .home-wrapper {
   width: 100%;
   height: 100%;
-  border: none; 
+  border: none;
 }
 
 .container {