diff --git a/docs/.layui/index.md b/docs/.layui/index.md index cc913bd9..10045b78 100644 --- a/docs/.layui/index.md +++ b/docs/.layui/index.md @@ -10,7 +10,7 @@ toc: true
- 发布:2023-05-07 -
- -随着 Layui `2.8` 的发布,以及官方新文档站的归来 ([**https://layui.dev**](//layuion.com)),为了保证 Layui 文档的及时性和权威性,我们郑重呼吁第三方单位或个人停止搭建 Layui 文档镜像站点,这不仅严重侵害 Layui 维护团队的基本权益,更严重影响开发者在使用 Layui 时可能造成的一系列信息不对称问题。过去两年,第三方镜像站点已经造成诸多弊端,譬如镜像文档与实际使用版本的出入问题,无形之中给维护团队增加了与使用者的 `Issue` 沟通成本和障碍。 - -我们再次重申《[**Layui 新版文档站上线初衷**](https://layui.dev/docs/@note/2.8/news.html)》中的观点:**此次重新上线的新版文档站,旨在为 Layui 开发使用者提供一个新的精神「基站」,并能够在第一时间获悉版本的最新动态与及时的文档内容**,不至于造成信息的混乱。同时,也是希望通过官方文档站的流量,在日后也能为创作团队支撑一丝基本的日常开支。希望第三方尊重创作者的劳动成果,一起守望好这来之不易的坚持。 - -也请大家以官方文档为准,避免可能造成的信息差异。 - -Layui · 2023.05.07 - ---- - - \ No newline at end of file diff --git a/docs/@note/2.8/news.md b/docs/@note/2.8/news.md deleted file mode 100644 index 83fa8b11..00000000 --- a/docs/@note/2.8/news.md +++ /dev/null @@ -1,35 +0,0 @@ ---- -title: 🚀 Layui 2.8.0 正式发布,全新文档站朴实归来 -toc: false -editable: false ---- - -# 🚀 Layui 2.8.0 正式发布,全新文档站朴实归来 - -- 发布:2023-04-24 -
- -我们终于迎来了 Layui `2.8.0` 的正式版本,以及全新的文档站。 - -在 Layui 过往七年的开源历程中,从未用多达**二十个预览版**去为一个正式版而引路。 显然,`2.8.0` 是 Layui 一次朴实的回归,更是情怀的延续。但却并不是想以此呼吁人们重新去选择它,我们仍然坚持两年前那则《[Layui 原官网下线公告](https://unpkg.com/outeres@0.0.7/img/layui/notice-2021.png)》中的观点, _即仍然推荐大家去拥抱主流,始终保持对前沿技术的无限热爱,是开发者们都应具备的思维属性_。 **而 Layui 所做的,是为填补主流之外的那些略显狭小的空隙**。 - -Layui 虽不是前端主流,但也早已不是作者个人的 Layui,而是所有仍在坚持使用它的人的 Layui,它仍然支撑着许多项目,也代表着许多人的工作,作为开源创作者的我们,应该要为这些坚持者而守望。 - -### 新文档站 - -2021 年 Layui 原官网下线后,互联网出现了许多第三方的 Layui 文档镜像站,这在当时,给大家能继续阅读文档确实提供了便利,但原官网的下线,只是单纯一个网站自身生命周期的结束,它并不意味着 Layui 这样一个开源项目的停更,这在公告中也有清晰的阐述。但或许是由于那则公告的用词过于「悲壮」,使得各大自媒体有所误读,从而让大家都以为是 Layui 停更了。 事实上,自那以后,Layui 仍然在 Github 和 Gitee 保持活跃,并不存在所谓的停止更新,甚至从 `2.6.9` 一直迭代到今天的最新版本,而现存的第三方文档镜像站点的内容却仍然定格在 Layui `2.6.8` 的版本,已严重滞后于 Layui 的当前版本,显然是不利于开发者们对 Layui 的应用。 两年来,Layui 始终处于没有中心文档的窘迫境地,虽然也一度以 **Gitee Pages** 为文档的承载,但似乎很难形成一个焦点和归属感。 随着 `2.8.0` 正式版本的发布,它所包含的上百项的内容更新,使得全新的文档站呼之欲出。 - -此次上线的新版文档站,旨在为朴实归来的 Layui 提供一个新的精神「基站」,它基于 laytpl 和 markdown 驱动,在版面上进行了大量优化,内容重新编写、力求精简,以辅助大家更好地使用 Layui。 同时,Layui 文档也已和 Layui 本身一同开源在项目中,以供大家在线和离线都能阅读以及协同维护。 - -- **文档协作:** https://github.com/layui/layui/tree/2.x/docs -- **文档阅读:** https://layui.dev - ---- - - diff --git a/docs/@note/2.8/upgrade-guide.md b/docs/@note/2.8/upgrade-guide.md deleted file mode 100644 index 5f530fa2..00000000 --- a/docs/@note/2.8/upgrade-guide.md +++ /dev/null @@ -1,55 +0,0 @@ ---- -title: 📑 Layui 2.8 《升级指南》 -toc: false ---- - -# 📑 Layui 2.8 《升级指南》 - -Layui `2.8` 总体向下兼容,但仍有以下变更需要注意: - -1. `2.8` 剔除了 ~~layedit~~ 组件,若是之前用到该组件的,注意采用第三方成熟富文本组件替换,详见:#I5JSE3 -1. `2.8` 调整了 `table` 的 `page,limit` 属性,当 `page` 未开启时,则默认不再向后端传递这两个参数 -1. `2.8` 调整了 `table` 的特定属性名。序号: `LAY_INDEX` → `LAY_NUM`;下标: `LAY_TABLE_INDEX` → `LAY_INDEX`,若是之前用到这几个特定属性,需更换为新版名称。 -1. `2.8` 调整了 `checkbox` 的 `lay-skin` 属性默认为原始风格,原来的标签风格可通过 `lay-skin="tag"` 来设置。 -1. `2.8` 调整了 `checkbox` 的私有属性 `lay-text`,采用统一的 `title` 属性替代 -1. `2.8` 调整了 `util.fixbar` 的 `showHeight` 属性名称为 `margin` - -### 2.7.6 升级到 2.8 - -`2.8` 对 `2.7.6` 最友好,可直接覆盖升级,只需按照上述提到的几点进行适配即可。 - -### 2.6.x 升级到 2.8 - -该跨度相对较大,主要是中间的 `2.6.11` 和 `2.7.x` 的几处调整要适配,包括: -{{! -1. **重要**:`2.6.11` 调整了 `laytpl` 的 `{{ d.field }}` 标签的输出为默认开启编码。即与 `{{= d.field }}` 等同。因此,若输出内容包含 `HTML` 且需要正常渲染的,需采用 `{{- d.field }}` 的标签语句。详细可参考:#I5AXSP -1. `2.6.11` 调整了 `table` 组件的 `escape` 属性默认为 `true`,即默认开启编码功能(之前默认为 `false`) -1. `2.7.5` 调整了 `table` 表头的 `edit` 属性,支持函数写法,且单元格是否编辑不再以 `@@ -10,7 +10,7 @@
@@ -18,7 +18,7 @@
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -42,7 +42,7 @@
@@ -52,6 +52,6 @@
\ No newline at end of file diff --git a/docs/dropdown/detail/options.md b/docs/dropdown/detail/options.md index 406ec566..605a1a9e 100644 --- a/docs/dropdown/detail/options.md +++ b/docs/dropdown/detail/options.md @@ -211,7 +211,7 @@ templet: function(d){
@@ -109,7 +109,7 @@ layui.use(function(){
diff --git a/docs/fixbar/index.md b/docs/fixbar/index.md index 3362d140..2c18955d 100644 --- a/docs/fixbar/index.md +++ b/docs/fixbar/index.md @@ -10,7 +10,7 @@ toc: true
@@ -12,7 +12,7 @@
@@ -20,7 +20,7 @@
@@ -28,7 +28,7 @@
@@ -37,7 +37,7 @@
@@ -46,7 +46,7 @@
@@ -55,7 +55,7 @@
@@ -64,7 +64,7 @@
@@ -75,7 +75,7 @@ obj.render(); }}"> @@ -84,7 +84,7 @@
@@ -92,6 +92,6 @@
\ No newline at end of file diff --git a/docs/laydate/detail/options.md b/docs/laydate/detail/options.md index f42232b9..d4964481 100644 --- a/docs/laydate/detail/options.md +++ b/docs/laydate/detail/options.md @@ -32,7 +32,7 @@
@@ -10,7 +10,7 @@
@@ -18,7 +18,7 @@
@@ -26,7 +26,7 @@
@@ -34,7 +34,7 @@
@@ -44,7 +44,7 @@
@@ -52,7 +52,7 @@
@@ -60,7 +60,7 @@
@@ -68,19 +68,19 @@
@@ -89,7 +89,7 @@
diff --git a/docs/layer/detail/options.md b/docs/layer/detail/options.md index ff197ebe..17021137 100644 --- a/docs/layer/detail/options.md +++ b/docs/layer/detail/options.md @@ -76,7 +76,7 @@ title: false // 不显示标题栏
diff --git a/docs/nav/index.md b/docs/nav/index.md index 6b30c938..b8c9d1d9 100644 --- a/docs/nav/index.md +++ b/docs/nav/index.md @@ -87,7 +87,7 @@ toc: true
@@ -307,8 +307,8 @@ layui.use(function(){
@@ -41,7 +41,7 @@ } }}"> @@ -49,7 +49,7 @@
@@ -63,7 +63,7 @@ } }}"> @@ -77,7 +77,7 @@ } }}"> @@ -85,7 +85,7 @@
@@ -99,7 +99,7 @@ } }}"> @@ -114,7 +114,7 @@ } }}"> @@ -124,7 +124,7 @@
@@ -136,7 +136,7 @@ } }}"> @@ -148,7 +148,7 @@ } }}"> @@ -162,7 +162,7 @@ } }}"> @@ -174,7 +174,7 @@ } }}"> @@ -189,7 +189,7 @@ } }}"> diff --git a/docs/table/examples/autoRender.md b/docs/table/examples/autoRender.md index 0affca92..37e82ad7 100644 --- a/docs/table/examples/autoRender.md +++ b/docs/table/examples/autoRender.md @@ -1,4 +1,4 @@ -
ID | diff --git a/docs/table/examples/css.md b/docs/table/examples/css.md index fded01ec..aa01f4f3 100644 --- a/docs/table/examples/css.md +++ b/docs/table/examples/css.md @@ -49,7 +49,7 @@ // 创建渲染实例 table.render({ elem: '#ID-table-demo-css', - url:'{{d.root}}/static/json/table/demo1.json', // 此处为静态模拟数据,实际使用时需换成真实接口 + url:'/static/2.8/json/table/demo1.json', // 此处为静态模拟数据,实际使用时需换成真实接口 page: true, height: 'full-35', lineStyle: 'height: 151px;', // 定义表格的多行样式 diff --git a/docs/table/examples/demo.md b/docs/table/examples/demo.md index 92976408..69da828d 100644 --- a/docs/table/examples/demo.md +++ b/docs/table/examples/demo.md @@ -64,7 +64,7 @@ layui.use(['table', 'dropdown'], function(){ // 创建渲染实例 table.render({ elem: '#test', - url:'{{d.root}}/static/json/table/demo1.json', // 此处为静态模拟数据,实际使用时需换成真实接口 + url:'/static/2.8/json/table/demo1.json', // 此处为静态模拟数据,实际使用时需换成真实接口 toolbar: '#toolbarDemo', defaultToolbar: ['filter', 'exports', 'print', { title: '提示', diff --git a/docs/table/examples/editModes.md b/docs/table/examples/editModes.md index b459a781..9c87cf7c 100644 --- a/docs/table/examples/editModes.md +++ b/docs/table/examples/editModes.md @@ -49,7 +49,7 @@ layui.use(function(){ // 渲染 table.render({ elem: '#ID-table-demo-editmodes', - url: '{{d.root}}/static/json/table/user.json', // 此处为静态模拟数据,实际使用时需换成真实接口 + url: '/static/2.8/json/table/user.json', // 此处为静态模拟数据,实际使用时需换成真实接口 page: true, css: [ // 设置单元格样式 // 取消默认的溢出隐藏,并设置适当高度 @@ -68,7 +68,7 @@ layui.use(function(){ ]], done: function(res, curr, count){ var options = this; - + // 获取当前行数据 table.getRowData = function(elem){ var index = $(elem).closest('tr').data('index'); @@ -80,6 +80,9 @@ layui.use(function(){ var value = this.value; // 获取选中项 value var data = table.getRowData(this); // 获取当前行数据(如 id 等字段,以作为数据修改的索引) + // 更新数据中对应的字段 + data.city = value; + // 显示 - 仅用于演示 layer.msg('选中值: '+ value +'
---|
@@ -19,7 +19,7 @@ 更多级表头(支持无限极): - |
---|
联系人 | diff --git a/docs/table/index.md b/docs/table/index.md index 4916cdf7..9eb735bf 100644 --- a/docs/table/index.md +++ b/docs/table/index.md @@ -12,7 +12,7 @@ toc: true 以下所有示例中演示的数据均为「静态模拟数据」,实际使用时换成您的真实接口即可。
-
+
[回调函数](#options.callback)
@@ -173,8 +173,8 @@ onchange: function(data, index){
|
-
-数据格式解析的回调函数,用于将返回的任意数据格式解析成 transfer 组件规定的 data 格式
+
+数据格式解析的回调函数,用于将返回的任意数据格式解析成 transfer 组件规定的 data 格式
```
diff --git a/docs/transfer/index.md b/docs/transfer/index.md
index 4a76178d..41fe33c0 100644
--- a/docs/transfer/index.md
+++ b/docs/transfer/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/transfer/detail/demo.md") }}
+{{- d.include("/transfer/detail/demo.md") }}
API@@ -32,13 +32,13 @@ toc: true属性
-{{- d.include("docs/transfer/detail/options.md") }}
+{{- d.include("/transfer/detail/options.md") }}
data 格式
-{{- d.include("docs/transfer/detail/options.data.md") }}
+{{- d.include("/transfer/detail/options.data.md") }}
重载diff --git a/docs/tree/detail/demo.md b/docs/tree/detail/demo.md index 84a3ec1e..4d92bac2 100644 --- a/docs/tree/detail/demo.md +++ b/docs/tree/detail/demo.md @@ -19,7 +19,7 @@ layui.use(function(){ var util = layui.util; // 模拟数据 - var data = [{title:'一级1',id:1,field:'name1',checked:true,spread:true,children:[{title:'二级1-1 可允许跳转',id:3,field:'name11',href:'{{d.root}}/',children:[{title:'三级1-1-3',id:23,field:'',children:[{title:'四级1-1-3-1',id:24,field:'',children:[{title:'五级1-1-3-1-1',id:30,field:''},{title:'五级1-1-3-1-2',id:31,field:''}]}]},{title:'三级1-1-1',id:7,field:'',children:[{title:'四级1-1-1-1 可允许跳转',id:15,field:'',href:'{{d.root}}/docs/'}]},{title:'三级1-1-2',id:8,field:'',children:[{title:'四级1-1-2-1',id:32,field:''}]}]},{title:'二级1-2',id:4,spread:true,children:[{title:'三级1-2-1',id:9,field:'',disabled:true},{title:'三级1-2-2',id:10,field:''}]},{title:'二级1-3',id:20,field:'',children:[{title:'三级1-3-1',id:21,field:''},{title:'三级1-3-2',id:22,field:''}]}]},{title:'一级2',id:2,field:'',spread:true,children:[{title:'二级2-1',id:5,field:'',spread:true,children:[{title:'三级2-1-1',id:11,field:''},{title:'三级2-1-2',id:12,field:''}]},{title:'二级2-2',id:6,field:'',children:[{title:'三级2-2-1',id:13,field:''},{title:'三级2-2-2',id:14,field:'',disabled:true}]}]},{title:'一级3',id:16,field:'',children:[{title:'二级3-1',id:17,field:'',fixed:true,children:[{title:'三级3-1-1',id:18,field:''},{title:'三级3-1-2',id:19,field:''}]},{title:'二级3-2',id:27,field:'',children:[{title:'三级3-2-1',id:28,field:''},{title:'三级3-2-2',id:29,field:''}]}]}]; + var data = [{title:'一级1',id:1,field:'name1',checked:true,spread:true,children:[{title:'二级1-1 可允许跳转',id:3,field:'name11',href:'',children:[{title:'三级1-1-3',id:23,field:'',children:[{title:'四级1-1-3-1',id:24,field:'',children:[{title:'五级1-1-3-1-1',id:30,field:''},{title:'五级1-1-3-1-2',id:31,field:''}]}]},{title:'三级1-1-1',id:7,field:'',children:[{title:'四级1-1-1-1 可允许跳转',id:15,field:'',href:''}]},{title:'三级1-1-2',id:8,field:'',children:[{title:'四级1-1-2-1',id:32,field:''}]}]},{title:'二级1-2',id:4,spread:true,children:[{title:'三级1-2-1',id:9,field:'',disabled:true},{title:'三级1-2-2',id:10,field:''}]},{title:'二级1-3',id:20,field:'',children:[{title:'三级1-3-1',id:21,field:''},{title:'三级1-3-2',id:22,field:''}]}]},{title:'一级2',id:2,field:'',spread:true,children:[{title:'二级2-1',id:5,field:'',spread:true,children:[{title:'三级2-1-1',id:11,field:''},{title:'三级2-1-2',id:12,field:''}]},{title:'二级2-2',id:6,field:'',children:[{title:'三级2-2-1',id:13,field:''},{title:'三级2-2-2',id:14,field:'',disabled:true}]}]},{title:'一级3',id:16,field:'',children:[{title:'二级3-1',id:17,field:'',fixed:true,children:[{title:'三级3-1-1',id:18,field:''},{title:'三级3-1-2',id:19,field:''}]},{title:'二级3-2',id:27,field:'',children:[{title:'三级3-2-1',id:28,field:''},{title:'三级3-2-2',id:29,field:''}]}]}]; // 渲染 tree.render({ diff --git a/docs/tree/detail/options.md b/docs/tree/detail/options.md index 6c1cbc1a..6388963f 100644 --- a/docs/tree/detail/options.md +++ b/docs/tree/detail/options.md @@ -153,7 +153,7 @@ text: {
- |
+
[回调函数](#options.callback)
@@ -165,7 +165,7 @@ text: {
click |
- |
+
节点被点击的回调函数。返回的参数如下:
@@ -185,7 +185,7 @@ click: function(obj){
oncheck |
- |
+
点击复选框时的回调函数,返回的参数如下:
@@ -203,7 +203,7 @@ oncheck: function(obj){
operate |
- |
+
点击节点的右侧操作图标的回调函数,返回的参数如下:
diff --git a/docs/tree/index.md b/docs/tree/index.md
index bd8b8a41..a6831057 100644
--- a/docs/tree/index.md
+++ b/docs/tree/index.md
@@ -10,7 +10,7 @@ toc: true
示例
-{{- d.include("docs/tree/detail/demo.md") }}
+{{- d.include("/tree/detail/demo.md") }}
API@@ -32,13 +32,13 @@ toc: true属性
-{{- d.include("docs/tree/detail/options.md") }}
+{{- d.include("/tree/detail/options.md") }}
data 格式
-{{- d.include("docs/tree/detail/options.data.md") }}
+{{- d.include("/tree/detail/options.data.md") }}
diff --git a/docs/treeTable/detail/demo.md b/docs/treeTable/detail/demo.md
index 564a954e..5f794e78 100644
--- a/docs/treeTable/detail/demo.md
+++ b/docs/treeTable/detail/demo.md
@@ -8,7 +8,7 @@
}
}}">
diff --git a/docs/treeTable/detail/options.md b/docs/treeTable/detail/options.md
index 4c4e1b4b..df2b58ac 100644
--- a/docs/treeTable/detail/options.md
+++ b/docs/treeTable/detail/options.md
@@ -46,7 +46,7 @@ treeTable.render({
tree.customName |
- |
+
自定义属性名的集合,包含以下成员:
@@ -66,7 +66,7 @@ treeTable.render({
tree.view |
- |
+
视图相关的属性集合,包含以下成员:
@@ -91,7 +91,7 @@ treeTable.render({
tree.data |
- |
+
数据相关的属性集合,包含以下成员:
@@ -108,7 +108,7 @@ treeTable.render({
tree.async |
- |
+
异步相关的属性集合,包含以下成员:
@@ -130,7 +130,7 @@ treeTable.render({
tree.callback |
- |
+
事件回调相关的属性集合,包含以下成员:
diff --git a/docs/treeTable/examples/demo.md b/docs/treeTable/examples/demo.md
index 770b2969..b8b542b2 100644
--- a/docs/treeTable/examples/demo.md
+++ b/docs/treeTable/examples/demo.md
@@ -24,13 +24,13 @@ layui.use(function(){
// 渲染
var inst = treeTable.render({
elem: '#ID-treeTable-demo',
- url: '{{d.root}}/static/json/treeTable/demo-1.json', // 此处为静态模拟数据,实际使用时需换成真实接口
+ url: '/static/2.8/json/treeTable/demo-1.json', // 此处为静态模拟数据,实际使用时需换成真实接口
tree: {
/*
// 异步加载子节点
async: {
enable: true,
- url: '{{d.root}}/static/json/treeTable/demo-async.json', // 此处为静态模拟数据,实际使用时需换成真实接口
+ url: '/static/2.8/json/treeTable/demo-async.json', // 此处为静态模拟数据,实际使用时需换成真实接口
autoParam: ["parentId=id"]
}
*/
diff --git a/docs/treeTable/index.md b/docs/treeTable/index.md
index 1deaade6..49a8bc3f 100644
--- a/docs/treeTable/index.md
+++ b/docs/treeTable/index.md
@@ -12,7 +12,7 @@ toc: true
以下所有示例中演示的数据均为「静态模拟数据」,实际使用时换成您的真实接口即可。
-{{- d.include("docs/treeTable/detail/demo.md") }}
+{{- d.include("/treeTable/detail/demo.md") }}
@@ -51,7 +51,7 @@ toc: true
`table` 组件的所有基础属性均适用于 `treeTable` 组件。在此基础上,`treeTable` 还专门提供了 `tree` 属性集:
-{{- d.include("docs/treeTable/detail/options.md") }}
+{{- d.include("/treeTable/detail/options.md") }}
重载diff --git a/docs/upload/detail/demo.md b/docs/upload/detail/demo.md index 681ed60f..43ae2680 100644 --- a/docs/upload/detail/demo.md +++ b/docs/upload/detail/demo.md @@ -4,7 +4,7 @@ obj.render(); }}"> @@ -13,7 +13,7 @@@@ -22,7 +22,7 @@ @@ -31,7 +31,7 @@ @@ -39,7 +39,7 @@ @@ -48,7 +48,7 @@ @@ -57,6 +57,6 @@ \ No newline at end of file diff --git a/docs/upload/detail/options.md b/docs/upload/detail/options.md index 3098e2fa..2eec9368 100644 --- a/docs/upload/detail/options.md +++ b/docs/upload/detail/options.md @@ -56,7 +56,7 @@
- |
+
传递给上传接口的额外参数,支持静态赋值和动态赋值两种写法。
@@ -100,7 +100,7 @@ data: {
- |
+
指定允许上传时校验的文件类型。可选值有:
@@ -142,7 +142,7 @@ acceptMime: 'image/jpeg, image/png` // 只筛选 jpg,png 格式图片
- |
+
允许上传的文件后缀。一般结合 `accept` 属性来设定。
@@ -257,7 +257,7 @@ acceptMime: 'image/jpeg, image/png` // 只筛选 jpg,png 格式图片
- |
+
[回调函数](#options.callback)
@@ -273,7 +273,7 @@ acceptMime: 'image/jpeg, image/png` // 只筛选 jpg,png 格式图片
- |
+
选择文件后的回调函数。返回的参数如下
@@ -310,7 +310,7 @@ choose: function(obj){
- |
+
文件提交上传前的回调函数。返回的参数同 choose
@@ -332,12 +332,12 @@ before: function(obj){ // obj 参数同 choose
-[progress](#option.progress)
+[progress](#options.progress)
|
- |
+
执行上传请求后的回调函数。返回的参数如下:
@@ -361,12 +361,12 @@ progress: progress: function(n, elem, res, index){
-[done](#option.done)
+[done](#options.done)
|
- |
+
执行单次文件上传请求后的回调函数。返回的参数如下:
@@ -392,12 +392,12 @@ done: function(res, index, upload){
-[allDone](#option.allDone)
+[allDone](#options.allDone)
|
- |
+
当开启多文件 (`multiple: true` ) 且所有文件均上传完毕后的状态回调函数。
diff --git a/docs/upload/index.md b/docs/upload/index.md
index 0e22f263..95f8f7bc 100644
--- a/docs/upload/index.md
+++ b/docs/upload/index.md
@@ -12,7 +12,7 @@ toc: true
以下示例的部分上传接口由第三方网站 `https://httpbin.org` 提供,它可以模拟各类 HTTP 请求。若未配置上传接口的,每次上传都会报「请求上传接口出现异常」的提示,这属于正常现象。
-{{- d.include("docs/upload/detail/demo.md") }}
+{{- d.include("/upload/detail/demo.md") }}
@@ -88,7 +88,7 @@ var inst = upload.render({
});
```
-重载+重载`inst.reload(options);` @@ -113,10 +113,10 @@ inst.reload({属性
-{{- d.include("docs/upload/detail/options.md") }}
+{{- d.include("/upload/detail/options.md") }}
-跨域方案+跨域方案`upload` 组件支持跨域上传,一般有以下两种场景 diff --git a/docs/util/index.md b/docs/util/index.md index 32feb70a..a71c7db0 100644 --- a/docs/util/index.md +++ b/docs/util/index.md @@ -10,7 +10,7 @@ toc: true示例
-{{- d.include("docs/util/detail/demo.md") }}
+{{- d.include("/util/detail/demo.md") }}
diff --git a/docs/versions.md b/docs/versions.md
index cfe1d19c..ca60220f 100644
--- a/docs/versions.md
+++ b/docs/versions.md
@@ -5,7 +5,7 @@ toc: true
# 更新日志
-> 导读:📑 [Layui 2.8 《升级指南》](/docs/@note/2.8/upgrade-guide.html) · 📑 [Layui 新版文档站上线初衷](/docs/@note/2.8/news.html)
+> 导读:📑 [Layui 2.8 《升级指南》](/notes/2.8/upgrade-guide.html) · 📑 [Layui 新版文档站上线初衷](/notes/2.8/news.html)
diff --git a/examples/xingzuo.html b/examples/xingzuo.html
deleted file mode 100644
index 5fd2783e..00000000
--- a/examples/xingzuo.html
+++ /dev/null
@@ -1,104 +0,0 @@
-
-
-
-
-
-
|
---|