From f2a7ea7317e3e3e8737d8e6e4d979f033711ec7a Mon Sep 17 00:00:00 2001 From: whyczyk <525500596@qq.com> Date: 星期三, 03 三月 2021 16:15:42 +0800 Subject: [PATCH] chart组件添加 --- src/App.vue | 54 +++++++++++++++++++++++++++--------------------------- 1 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/App.vue b/src/App.vue index 11d9718..ffc45d5 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,36 +5,36 @@ </template> <script> + export default { + name: 'App', + components: { -export default { - name: 'App', - components: { - - }, - data() { - return { - kk: 1 + }, + data() { + return { + kk: 1 + } + }, + methods: { + changeLink: function () { + this.$store.commit('user/changeLink'); + } + }, + computed: { + } - }, - methods: { - changeLink: function() { - this.$store.commit('user/changeLink'); - } - }, - computed: { - } -} </script> <style> -#app { - height: 100vh; - background-color: #031D67; - background-image: url("./assets/images/bg-box.png"); -} -#app:before { - display: table; - content: " "; -} -</style> + #app { + height: 100vh; + background-color: #031D67; + background-image: url("./assets/images/bg-box.png"); + } + + #app:before { + display: table; + content: " "; + } +</style> \ No newline at end of file -- Gitblit v1.9.1