@@ -65,7 +65,11 @@ export default {
data() {
return {
shareImg: this.shareModel.shareImg,
- releaseUrl: appConst.DIAOYANBAO_PATH + this.shareModel.id
+ releaseUrl:
+ appConst.DIAOYANBAO_PATH +
+ this.shareModel.id +
+ "&testcaseId=" +
+ this.shareModel.testcaseId
};
},
props: {
@@ -549,6 +549,7 @@
editorPage() {
this.shareModel = {
id: this.itemId,
+ testcaseId: this.testcaseId,
shareTitle: this.$store.state.editor.editorTheme.shareTitle,
shareContent: this.$store.state.editor.editorTheme.shareContent,
shareImg: this.$store.state.editor.editorTheme.shareImg,
@@ -195,6 +195,7 @@ export default {
if (res.success) {
id: item._id,
+ testcaseId: item.testcaseId,
shareTitle: res.single.shareTitle,
shareContent: res.single.shareContent,
shareImg: res.single.shareImg,