Explorar el Código

修改版本跳转地址

kevin_zhangl hace 3 años
padre
commit
09f52a6b2b
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/layout/components/Navbar.vue

+ 1 - 1
src/layout/components/Navbar.vue

@@ -78,7 +78,7 @@ export default {
   },
 	data() {
 		return {
-			visitWebsite: 'http://16.163.228.151:8035',
+			visitWebsite: process.env.NODE_ENV === 'production' ? 'https://ngds.elken.com' : 'http://16.163.228.151:8035',
 		}
 	},
   computed: {