|
@@ -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()
|