Explorar el Código

[edit] install btn

wenliming hace 3 años
padre
commit
9c53afe4e6
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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)