提交 4a037ac2 编写于 作者: huangwensu's avatar huangwensu

分享登录和进度条bug修复

上级 422b05ae
......@@ -19,6 +19,7 @@
</template>
<script>
import { setCookie, getCookie, delCookie } from '@/utils/index';
import { getShareUrl } from '@/utils';
import { ENV_CONFIG } from '@/utils/enumerate';
......@@ -100,6 +101,9 @@ export default {
}
},
share() {
if(!getCookie('token')) {
this.$rocNative.gotoLogin();
}else {
let shareUrl = '';
const { NUXT_ENV_APP } = process.env;
const { tempId, taskId, userName, encryptId, avatarl, token, shareTitle1, shareTitle2, shareIconUrl } = this;
......@@ -114,6 +118,8 @@ export default {
shareImageUrl: shareIconUrl || 'https://file.yunqueyi.com/logo.png?version=' + new Date().getTime()
});
}
}
},
}
</script>
......
......@@ -157,7 +157,7 @@ export default {
numText3: 3,
stepText3: '公布排名获奖名单',
stepTime3:'4月7日17:00-4月11日24:00',
maxValue: 200,
maxValue: 300,
myAvatarl: '',
myScore: 0,
showCarveUp: false, //是否展示瓜分弹框
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册