From 9cd476f875b661eca3eb5c4908ce0e744f48cbfe Mon Sep 17 00:00:00 2001
From: wangrui <zephyrs0894@163.com>
Date: 星期四, 24 十二月 2020 17:36:01 +0800
Subject: [PATCH] 配置过滤条件
---
src/App.vue | 19 +------------------
1 files changed, 1 insertions(+), 18 deletions(-)
diff --git a/src/App.vue b/src/App.vue
index 3c017ad..421bf83 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -1,34 +1,17 @@
<template>
<div id="app" ref="app">
- <map-template></map-template>
+ <router-view/>
</div>
</template>
<script>
-import MapTemplate from './views/MapTemplate.vue'
export default {
name: 'App',
- components: {MapTemplate},
mounted(){
- this.$nextTick(()=>{
- let h = window.innerHeight || document.documentElement.clientHeight || document.body.clientHeight; //娴忚鍣ㄩ珮搴�
- let topH = this.$refs.app.offsetHeight;
- console.log(h)
- this.height = (h - topH) + "px"
- })
}
}
</script>
<style>
-html,body,#app {
- font-family: Avenir, Helvetica, Arial, sans-serif;
- -webkit-font-smoothing: antialiased;
- -moz-osx-font-smoothing: grayscale;
- text-align: center;
- color: #2c3e50;
- padding: 0px;
- margin: 0px;
-}
</style>
--
Gitblit v1.8.0