王晓晨 %!s(int64=3) %!d(string=hai) anos
pai
achega
f4fc280b13
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      App.vue

+ 1 - 1
App.vue

@@ -3,7 +3,7 @@
 		onLaunch: function() {
 			let BASE_URL = "";
 			var env ='';
-			let res = uni.getStorageSync('env')
+			let res = uni.getStorageSync('env') || '1'
 			switch(res){
 			   case '1': //dev
 			     BASE_URL = 'http://192.168.4.212:8866' // 开发环境