liyongli il y a 1 an
Parent
commit
b6e92b8708
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/view/finance/index.vue

+ 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: [