liyongli 1 年間 前
コミット
b6e92b8708
1 ファイル変更1 行追加1 行削除
  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: [