@@ -13,9 +13,14 @@
</template>
<script>
+import Bus from '@/utils/bus'
export default {
name: 'App',
components: {
- }
+ },
+ data () {
+ return {
+ }
}
</script>
@@ -1,21 +0,0 @@
-<style src="@/sass/global.scss" lang="scss"></style>
-<style scoped lang="scss">
-#app {
- width: 100%;
- height: 100%;
-}
-</style>
-
-<template>
- <div id="app">
- <router-view></router-view>
- </div>
-</template>
-<script>
-export default {
- name: 'ControlApp',
- components: {
-</script>
@@ -54,6 +54,7 @@
name: 'Todo',
@@ -66,6 +67,8 @@ export default {
currentDate: new Date()
},
+ created(){
watch: {
methods: {
@@ -0,0 +1,3 @@
+import Vue from 'vue'
+
+export default new Vue()
@@ -12,9 +12,7 @@ module.exports = {
devServer: {
proxy: {
'/': {
- target: 'http://localhost:8085',
- // target: 'http://119.23.22.31:30962',
- // target: 'http://119.23.22.31:31588',
+ target: 'http://119.23.22.31:32002',
autoRewrite: true,
ws: false