⬆️ 升级 vue 3.2.24
This commit is contained in:
55
example/docs/zh-CN/components/confirm.md
Normal file
55
example/docs/zh-CN/components/confirm.md
Normal file
@@ -0,0 +1,55 @@
|
||||
::: title 基础使用
|
||||
:::
|
||||
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-button type="primary" @click="openConfirm1">信息框</lay-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { layer } from "../../../../src/index.ts"
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const openConfirm1 = function() {
|
||||
layer.confirm("你没事吧???")
|
||||
}
|
||||
|
||||
return {
|
||||
openConfirm1
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
|
||||
::: title 指定操作
|
||||
:::
|
||||
|
||||
::: demo
|
||||
|
||||
<template>
|
||||
<lay-button type="primary" @click="openConfirm2">询问框</lay-button>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { layer } from "../../../../src/index.ts"
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
|
||||
const openConfirm2 = function() {
|
||||
layer.confirm("你没事吧???", {btn: [{text:'确认'},{text:'取消'}]})
|
||||
}
|
||||
|
||||
return {
|
||||
openConfirm2
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
:::
|
||||
@@ -11,9 +11,14 @@
|
||||
<template>
|
||||
<lay-timeline>
|
||||
<lay-timeline-item title="0.2.7">
|
||||
[依赖] hooks-vue 0.1.2。<br>
|
||||
[新增] useState 状态管理 hooks。<br>
|
||||
[新增] useBoolean (特殊的 useState) 布尔状态管理 hooks。<br>
|
||||
[新增] layer 对象 load 方法, 通过 type 配置调用不同类型加载层。<br>
|
||||
[文档] icons-vue 组件化使用方式。<br>
|
||||
[文档] hooks-vue 安装文档。<br>
|
||||
[升级] hooks-vue 0.1.2。<br>
|
||||
[升级] layer-vue 1.0.3。<br>
|
||||
[修复] icons-vue 依赖 not found。<br>
|
||||
[升级] vue 3.2.24。
|
||||
</lay-timeline-item>
|
||||
<lay-timeline-item title="0.2.6">
|
||||
[依赖] hooks-vue 0.1.2。<br>
|
||||
@@ -26,7 +31,7 @@
|
||||
[修复] layer 的 id 属性不唯一, 调整 Guid 为 Uuid 策略。<br>
|
||||
[修改] lay-layer 组件为 lay-modal, 使用方式保持不变。<br>
|
||||
[修改] lay-layer 组件 move 默认为 true, 默认提供拖拽支持。<br>
|
||||
[修稿] layer.css 为 @layui/layui-vue/lib/index.css。<br>
|
||||
[修改] layer.css 为 @layui/layui-vue/lib/index.css。<br>
|
||||
[独立] layui-vue 项目, layer 与 lay-modal 组件仍内置, 亦支持单独引用。<br>
|
||||
[独立] icons-vue 项目, lay-icon 与 iconfont.less 仍内置, 亦支持单独引用。<br>
|
||||
</lay-timeline-item>
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
::: title 快速上手
|
||||
:::
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
::: describe 1.使用 npm 下载
|
||||
::: describe 1. 使用 npm 下载
|
||||
:::
|
||||
|
||||
```
|
||||
@@ -13,7 +12,7 @@ npm install @layui/layui-vue --save
|
||||
|
||||
<br>
|
||||
|
||||
::: describe 2.在 main.ts 中依赖
|
||||
::: describe 2. 在 main.ts 中依赖
|
||||
:::
|
||||
|
||||
```js
|
||||
@@ -27,7 +26,7 @@ createApp(App).use(Layui).mount('#app')
|
||||
|
||||
<br>
|
||||
|
||||
::: describe 3.在 index.vue 使用
|
||||
::: describe 3. 在 index.vue 使用
|
||||
:::
|
||||
|
||||
```html
|
||||
|
||||
2
example/docs/zh-CN/guide/sponsor.md
Normal file
2
example/docs/zh-CN/guide/sponsor.md
Normal file
@@ -0,0 +1,2 @@
|
||||
::: title 赞助我们
|
||||
:::
|
||||
2
example/docs/zh-CN/guide/theme.md
Normal file
2
example/docs/zh-CN/guide/theme.md
Normal file
@@ -0,0 +1,2 @@
|
||||
::: title 定义主题
|
||||
:::
|
||||
@@ -1,10 +1,9 @@
|
||||
::: title 快速上手
|
||||
:::
|
||||
|
||||
<br>
|
||||
<br>
|
||||
|
||||
::: describe 1.使用 npm 下载
|
||||
::: describe 1. 使用 npm 下载
|
||||
:::
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user