From e6d232093e440ce8259f07c176aa743c52d75cb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B4=A4=E5=BF=83?= <3277200+sentsim@users.noreply.github.com> Date: Thu, 27 Apr 2023 20:39:48 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=20icon=20=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E4=B8=AD=E7=9A=84=E5=A4=8D=E5=88=B6=E6=8F=90=E7=A4=BA=EF=BC=8C?= =?UTF-8?q?=E5=B9=B6=E7=A1=AE=E4=BF=9D=E4=BB=A3=E7=A0=81=E6=AD=A3=E5=B8=B8?= =?UTF-8?q?=E8=BF=90=E8=A1=8C=EF=BC=88=E4=BD=8D=E4=BA=8E=20`layui.js`=20?= =?UTF-8?q?=E4=B9=8B=E5=89=8D=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/icon/index.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/icon/index.md b/docs/icon/index.md index 338385ea..4fe4cdf9 100644 --- a/docs/icon/index.md +++ b/docs/icon/index.md @@ -1173,6 +1173,12 @@ toc: true 由于浏览器存在同源策略,若 Layui 文件地址与你当前的页面地址*不在同一个域下*,即会出现图标跨域问题。因此,要么将 Layui 文件与网站放在同一服务器,要么对 Layui 文件所在的静态资源服务器的 `Response Headers` 添加:`Access-Control-Allow-Origin: *` 或对跨资源共享指定域名,即可解决图标跨域问题。 + + +
+ +