Explorar el Código

feat: 调整协议归档文件地址

zhangyuhan hace 3 meses
padre
commit
401e4689ba

+ 1 - 1
src/views/create-order/components/order-detail-submodule/ContractInfo.vue

@@ -215,7 +215,7 @@ export default {
       const url = this.contractRes?.contract_file_url;
       if(url) {
         const urls = this.$router.resolve(url)
-        const fileUrl = urls.href.replace('/qmx_page_admin', '')
+        const fileUrl = '/shareFile' + urls.href.split('/shareFile')[1]
         console.log(fileUrl, 'url')
         this.$confirm("确定下载该归档协议吗?", "提示").then(() => {
           const a1 = document.createElement('a')