Commit 4d8f896e by hank

bug

parent ab815d3d
......@@ -149,7 +149,7 @@ body {
left: 0;
right: 0;
bottom: 0;
// display: flex;
display: flex;
align-items: center;
img {
width: 45vw;
......
......@@ -147,7 +147,7 @@ import { Swipe, SwipeItem } from 'mint-ui';
import ruwei from './ruwei.vue';
import api from '@/modules/js/api.js';
var _this
export default {
data() {
return {
......@@ -211,7 +211,13 @@ export default {
}
}
},
watch:{
$route: (params) => {
_this.getUserInfo()
}
},
created() {
_this = this
this.judgeShare();
this.getIsAward();
......@@ -880,9 +886,11 @@ export default {
next();
},
activated() {
this.getUserInfo()
console.log('active')
try {
this.lastContant.scrollTop = this.$store.state.lastBoxScroll;
} catch (error) { }
try {
......
......@@ -225,7 +225,14 @@ export default {
Toast({ message: '保存成功' });
setTimeout(() => {
if (location.href.includes('isIndex')) {
this.$router.push({ path: '/imgup' });
window.wx.miniProgram.getEnv(function (res) {
if (res.miniprogram) {
window.wx.miniProgram.navigateTo({url: '/pages/upload/upload'})
} else {
this.$router.push({ path: '/imgup' });
}
})
} else {
this.$router.push({ path: '/' });
}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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 sign in to comment