diff --git a/src/components/Demo.vue b/src/components/Demo.vue index dbf2300..e8d5d03 100644 --- a/src/components/Demo.vue +++ b/src/components/Demo.vue @@ -11,7 +11,7 @@ export default { }, methods: { handleClick() { - this.$Message.success('Welcome to ViewUIPlus Demo!') + this.$Message.info('Welcome to View UI Plus Demo!') } } } diff --git a/src/router/index.js b/src/router/index.js index 2edde3f..df8879a 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -4,10 +4,6 @@ import Home from '@/views/Home.vue' const routes = [ { path: '/', - redirect: '/home' - }, - { - path: '/home', name: 'home', component: Home } diff --git a/vite.config.js b/vite.config.js index a01bb45..81676f1 100644 --- a/vite.config.js +++ b/vite.config.js @@ -58,7 +58,6 @@ const config = ({ mode }) => { }, server: { open: true, - port: 8080, proxy: { '/api': { target: 'http://localhost:8080',