修改入参

This commit is contained in:
liu.xiaofeng@ebiz-digits.com
2022-06-27 16:12:27 +08:00
committed by li.yuetong
parent 5c3aa0178e
commit 1bde710eb8

View File

@@ -43,8 +43,8 @@ export default {
methods: {
// 初始化页面
async initThisPage() {
let res = await this.saveShareRecord('1',this.$route.query.token,this.$route.query.linkType)
await this.sharePosterLoading('1',this.$route.query.token,this.$route.query.linkType,this.$route.query.schoolName,this.$route.query.className)
let res = await this.saveShareRecord('1',this.$route.query.token)
await this.sharePosterLoading('1',this.$route.query.token)
// console.log(111+newRes)
// if (this.herfUrl) {
// window.location.href = this.herfUrl
@@ -59,7 +59,6 @@ export default {
*/
saveShareRecord(flag,key,linkType) {
let data = {
linkType: linkType,
flag: flag,
redisKey: key
}
@@ -70,13 +69,10 @@ export default {
})
})
},
sharePosterLoading(flag,key,linkType,schoolName,className) {
sharePosterLoading(flag,key,linkType) {
let data = {
linkType: linkType,
flag: flag,
redisKey: key,
schoolName:schoolName,
className:className
}
sharePosterLoading(data).then((res) => {
console.log(res)