From 8fe55a29cd8fb669f86b03ef30d816ff50453f3f Mon Sep 17 00:00:00 2001 From: sassassin <530521314@qq.com> Date: Sat, 21 Nov 2020 20:59:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=A4=87=E6=B3=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/index.html b/index.html index 8b50d69..a584b57 100644 --- a/index.html +++ b/index.html @@ -76,6 +76,7 @@ var admin = layui.admin, $ = layui.jquery; + //本地环境因相对路径差异,特意转base64处理,实际结合后台使用时,可随意发挥 function getBase64Image(img) { var canvas = document.createElement("canvas"); canvas.width = img.width;