liyongli 1 жил өмнө
parent
commit
b6e92b8708

+ 1 - 1
src/view/finance/index.vue

@@ -350,7 +350,7 @@ const cancel = async () => {
       ? title_text.split('').splice(0, 13).join('') + '...'
       : title_text;
   const qt = await QRCode.toDataURL(
-    [location.protocol, '//', location.host, '/finance.html?id=', selectItem.value.id].join('')
+    [location.href.split('.html')[0], '.html?id=', selectItem.value.id].join('')
   );
   const layers = {
     list: [