Преглед изворни кода

fix(shareDialog): use dynamic share url instead of hardcoded one

replace the hardcoded course share link with the passed dynamic newValue
lsc пре 3 недеља
родитељ
комит
b048c99d42
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      src/components/pptEasyClass/shareDialog.vue

+ 1 - 1
src/components/pptEasyClass/shareDialog.vue

@@ -60,7 +60,7 @@ export default {
         this.$refs.qrCodeRef.innerHTML = "";
         if (!newValue) return;
         new QRCode(this.$refs.qrCodeRef, {
-          text: `https://beta.cloud.cocorobo.cn/#/?shareCourseId=${this.courseId}`, // 需要转换为二维码的内容
+          text: newValue, // 需要转换为二维码的内容  `https://beta.cloud.cocorobo.cn/#/?shareCourseId=${this.courseId}`
           width: 100,
           height: 100,
           colorDark: "#000000",