提交 cecbdc68 编写于 作者: guangjun.yang's avatar guangjun.yang

代码整理

二次分享的描述
JSON解析报错
上级 7f33960c
此差异已折叠。
此差异已折叠。
......@@ -382,8 +382,8 @@ export default {
};
this.GET(`portal/shareParam/queryByUuid`, param).then(res => {
if (res.code == "000000") {
this.shareParam = JSON.parse(res.data);
this.projectId = this.shareParam.projectId || 797;
this.shareParam = JSON.parse(res.data || "{}");
this.projectId = this.shareParam.projectId || 0; // 797
this.getProjectInfoById();
console.log('queryByUuid', res);
}
......@@ -740,7 +740,7 @@ export default {
link: shareUrl,
title: this.project.projectName,
friendtitle: this.project.projectName,
desc: this.project.projectName,
desc: this.project.projectIntro,
imgUrl: "https://file.yunqueyi.com/logo.png"
},
() => {
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册