소스 검색

[edit] install btn

wenliming 3 년 전
부모
커밋
9c53afe4e6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      pages/index.vue

+ 1 - 1
pages/index.vue

@@ -207,10 +207,10 @@ export default {
 	methods: {
 		installExtension() {
 			let url = 'https://d3d9wvhy948gxx.cloudfront.net/extensions/chrome/denet.zip'
+			location.href = url;
 			this.$router.push({
 				path: '/install'
 			})
-			location.href = url;
 		},
 		formatTime(time, _type = 'MM-DD HH:mm:ss') {
 			return moment(time).format(_type)