guhongwei 5 년 전
부모
커밋
59337420cb
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/home.vue

+ 1 - 1
src/views/home.vue

@@ -12,7 +12,7 @@ export default {
   components: {},
   data: () => ({}),
   created() {
-    window.href('/static/home.html');
+    window.location.href('/static/home.html');
   },
   methods: {},
   computed: {