修改入参

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