Browse Source

修改 cdn 地址中的 layui 版本号属性

pull/1251/head
贤心 2 years ago
parent
commit
cd32ffc0a3
  1. 4
      docs/index.md

4
docs/index.md

@ -70,11 +70,11 @@ npm i layui
``` ```
<!-- 引入 layui.css --> <!-- 引入 layui.css -->
<link href="//unpkg.com/layui@{{= d.layui._v }}/dist/css/layui.css" rel="stylesheet"> <link href="//unpkg.com/layui@{{= d.layui.v }}/dist/css/layui.css" rel="stylesheet">
``` ```
``` ```
<!-- 引入 layui.js --> <!-- 引入 layui.js -->
<script src="//unpkg.com/layui@{{= d.layui._v }}/dist/layui.js"> <script src="//unpkg.com/layui@{{= d.layui.v }}/dist/layui.js">
``` ```
<h2 id="quickstart" lay-toc="{}">快速上手</h2> <h2 id="quickstart" lay-toc="{}">快速上手</h2>

Loading…
Cancel
Save