From 4d21cd5dd8649ffcc61bc5f80538b738bb00f963 Mon Sep 17 00:00:00 2001 From: codeskyblue Date: Mon, 22 May 2017 23:00:40 +0800 Subject: [PATCH] fix js error --- res/js/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/res/js/index.js b/res/js/index.js index 7913031..c7c1e42 100644 --- a/res/js/index.js +++ b/res/js/index.js @@ -154,7 +154,7 @@ var vm = new Vue({ $('#qrcodeCanvas').empty().qrcode({ text: installURL }); - $("#qrcodeRight a").attr("href", encodeURI(location.origin + encodeURI(pathJoin([location.pathname, name]))); + $("#qrcodeRight a").attr("href", encodeURI(location.origin + pathJoin([location.pathname, name]))); $("#qrcode-modal").modal("show"); }, genDownloadURL: function(f) {