he wei
2023-02-10 5a3753b8a6fbb346510c20436cb9733dd137e1e5
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<template>
  <div id="app"  class="el-science-blue">
        <router-view />
    </div>
</template>
 
<script>
import axios from '@/assets/js/axios';
export default {
  name: 'App',
  mounted () {
    this.testConect();
  },
  methods: {
    testConect () {
      axios({
        url: 'hello',
        method: 'GET',
      }).then((res) => {
        api.send('main-window-ready');
      }, (res) => {
        setTimeout(() => {
          this.testConect();
        }, 300);
      });
    }
  }
}
</script>
 
<style>
#app {
  box-sizing: border-box;
  height: 100%;
  background: url('~@/assets/img/dw_bg.jpg') no-repeat;
  /* min-width: 1000px;
  min-height: 600px; */
}
</style>