liu_lake 5 сар өмнө
parent
commit
f25cde8b38

BIN
merchant-ui/public/static/支付接口文档.pdf


+ 1 - 1
merchant-ui/src/views/paytest/modules/edit.vue

@@ -36,7 +36,7 @@ const src = ref();
 // 打开弹窗
 const open = (data: any, dataSource: any, mode: string) => {
   $api.test().then((res: any) => {
-    src.value = "data:image/png;base64," + res.result.result.imageBase64;
+    src.value = res.result.result.imageBase64;
   })
   pageData.dialogVisible = true;
 };

+ 1 - 0
merchant-ui/src/views/welcome/index.vue

@@ -44,6 +44,7 @@ const pageData: any = reactive({
               <span>{{ pageData.formData.appKey }}</span>
             </el-form-item>
           </el-form>
+          <a href="/static/支付接口文档.pdf" download="支付接口文档.pdf">下载接口文档</a>
         </template>
       </el-card>
     </div>