Browse Source

auto commit

gcz 4 years ago
parent
commit
917d8279ea
1 changed files with 3 additions and 3 deletions
  1. 3 3
      main.js

+ 3 - 3
main.js

@@ -79,6 +79,8 @@ const href = (data,type = 1) =>{
 	})
 };
 
+Vue.config.productionTip = false;
+
 const goback = () =>{
 	let pages = getCurrentPages();
 	console.log('pages',pages);
@@ -96,8 +98,6 @@ const goback = () =>{
 	uni.navigateBack({})
 };
 
-Vue.config.productionTip = false;
-
 Vue.prototype.$api = {msg,http,href,goback};
 Vue.prototype.$getimg = config.imgUrl;
 Vue.prototype.$getInnerImg = config.innerImgUrl;
@@ -112,4 +112,4 @@ App.mpType = 'app'
 const app = new Vue({
     ...App
 })
-app.$mount()
+app.$mount()