Commit cc1a3c7d authored by leiqingsong's avatar leiqingsong

Merge branch 'dev_lqs' into 'master'

修改

See merge request !67
parents 65e9865f 4f70d18a
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
queryData() { queryData() {
const _this = this; const _this = this;
queryAerialDelivery().then(res => { queryAerialDelivery().then(res => {
console.log(res); console.log('空投池', res);
if (res.code === 0) { if (res.code === 0) {
_this.total = res.data.total; _this.total = res.data.total;
_this.userPoolVos = res.data.userPoolVos; _this.userPoolVos = res.data.userPoolVos;
......
...@@ -30,7 +30,6 @@ ...@@ -30,7 +30,6 @@
</template> </template>
<script> <script>
import { navigateBack, showBottomBar } from "@/utils/bridgeToAppFun";
import BaseRefreshScroll from "../../components/BaseRefreshScroll.vue"; import BaseRefreshScroll from "../../components/BaseRefreshScroll.vue";
import RankItem from "./compoments/rankItem.vue"; import RankItem from "./compoments/rankItem.vue";
import { getProgressPrizes } from "@/api/progressPrizes"; import { getProgressPrizes } from "@/api/progressPrizes";
...@@ -49,7 +48,7 @@ export default { ...@@ -49,7 +48,7 @@ export default {
beforeRouteEnter(to, from, next) { beforeRouteEnter(to, from, next) {
console.log("路由前"); console.log("路由前");
try { try {
showBottomBar(false); this.$bridgeToAppFun.showBottomBar(false);
} catch { } catch {
console.log("无法请求App"); console.log("无法请求App");
next(); next();
...@@ -58,7 +57,7 @@ export default { ...@@ -58,7 +57,7 @@ export default {
beforeRouteLeave(to, form, next) { beforeRouteLeave(to, form, next) {
console.log("离开"); console.log("离开");
try { try {
showBottomBar(true); this.$bridgeToAppFun.showBottomBar(true);
} catch { } catch {
console.log("未能和App交互"); console.log("未能和App交互");
next(); next();
...@@ -70,7 +69,7 @@ export default { ...@@ -70,7 +69,7 @@ export default {
methods: { methods: {
handlerBack() { handlerBack() {
try { try {
navigateBack(); this.$bridgeToAppFun.navigateBack();
} catch { } catch {
console.log("不能和App交互"); console.log("不能和App交互");
this.$router.go(-1); this.$router.go(-1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment