Commit a9a228d5 by 李伟康

问卷需求

1 parent 3511c352
...@@ -66,9 +66,9 @@ Page({ ...@@ -66,9 +66,9 @@ Page({
wx.setNavigationBarTitle({ wx.setNavigationBarTitle({
title: data.title, title: data.title,
}) })
this.shareTitle = data.title this.shareTitle = data.cardTitle || data.title
this.shareQuery = `id=${data.id}` this.shareQuery = `id=${data.id}`
this.shareImage = data.cardCover this.shareImage = data.cardCover || ''
} else throw '获取问卷失败' } else throw '获取问卷失败'
} catch (error) { } catch (error) {
console.log(error) console.log(error)
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!