瀏覽代碼

feat: 留资字段调整、加载文档内容

Signed-off-by: tangshizhe <48740614+tangshizhe@users.noreply.github.com>
tangshizhe 1 年之前
父節點
當前提交
6e92898d60
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      jydocs-pc/src/views/Content.vue

+ 2 - 1
jydocs-pc/src/views/Content.vue

@@ -272,7 +272,7 @@ export default {
       if (this.docsInfo?.freeDownload === 0) {
         // 未留资,去留资
         try {
-          this.$refs.collectRef.noCallApiFn('pc_Library_details_free', true)
+          this.$refs.collectRef.noCallApiFn('pc_library_details_free', true)
         } catch (error) {
           console.log(error)
         }
@@ -597,6 +597,7 @@ export default {
                   confirmText: '我知道了'
                 }
                 this.buyed = 1
+                this.buyShow()
               }
               this.dialogInfo = params
             }