⬆️ 升级 vue 3.2.24
This commit is contained in:
		
							parent
							
								
									a365fb30db
								
							
						
					
					
						commit
						4c39705dab
					
				
							
								
								
									
										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,7 +1,6 @@
 | 
			
		||||
::: title 快速上手
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
<br>
 | 
			
		||||
<br>
 | 
			
		||||
 | 
			
		||||
::: describe 1. 使用 npm 下载
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										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,7 +1,6 @@
 | 
			
		||||
::: title 快速上手
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
<br>
 | 
			
		||||
<br>
 | 
			
		||||
 | 
			
		||||
::: describe 1. 使用 npm 下载
 | 
			
		||||
 | 
			
		||||
@ -53,9 +53,14 @@ const zhCN = [
 | 
			
		||||
            meta: { title: '规范' },
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            path: '/zh-CN/guide/sandbox',
 | 
			
		||||
            component: () => import('../../docs/zh-CN/guide/sandbox.md'),
 | 
			
		||||
            meta: { title: '沙盒' },
 | 
			
		||||
            path: '/zh-CN/guide/theme',
 | 
			
		||||
            component: () => import('../../docs/zh-CN/guide/theme.md'),
 | 
			
		||||
            meta: { title: '主题' },
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            path: '/zh-CN/guide/sponsor',
 | 
			
		||||
            component: () => import('../../docs/zh-CN/guide/sponsor.md'),
 | 
			
		||||
            meta: { title: '赞助' },
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
@ -266,6 +271,10 @@ const zhCN = [
 | 
			
		||||
            path: '/zh-CN/components/load',
 | 
			
		||||
            component: () => import('../../docs/zh-CN/components/load.md'),
 | 
			
		||||
            meta: { title: '加载' },
 | 
			
		||||
          },{
 | 
			
		||||
            path: '/zh-CN/components/confirm',
 | 
			
		||||
            component: () => import('../../docs/zh-CN/components/confirm.md'),
 | 
			
		||||
            meta: { title: '确认' },
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
@ -342,6 +342,11 @@ export default {
 | 
			
		||||
            title: '加载层',
 | 
			
		||||
            subTitle: 'modal',
 | 
			
		||||
            path: '/zh-CN/components/load',
 | 
			
		||||
          },        {
 | 
			
		||||
            id: 90,
 | 
			
		||||
            title: '询问框',
 | 
			
		||||
            subTitle: 'confirm',
 | 
			
		||||
            path: '/zh-CN/components/confirm',
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
@ -77,15 +77,39 @@ export default {
 | 
			
		||||
          {
 | 
			
		||||
            id: 2,
 | 
			
		||||
            title: '安装',
 | 
			
		||||
            subTitle: 'get started',
 | 
			
		||||
            subTitle: 'started',
 | 
			
		||||
            path: '/zh-CN/guide/getStarted',
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            id: 3,
 | 
			
		||||
            title: '更新',
 | 
			
		||||
            subTitle: 'change log',
 | 
			
		||||
            subTitle: 'change',
 | 
			
		||||
            path: '/zh-CN/guide/changelog',
 | 
			
		||||
          }
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            id: 4,
 | 
			
		||||
            title: '问题',
 | 
			
		||||
            subTitle: 'problem',
 | 
			
		||||
            path: '/zh-CN/guide/problem',
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            id: 5,
 | 
			
		||||
            title: '主题',
 | 
			
		||||
            subTitle: 'theme',
 | 
			
		||||
            path: '/zh-CN/guide/theme',
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            id: 6,
 | 
			
		||||
            title: '赞助',
 | 
			
		||||
            subTitle: 'sponsor',
 | 
			
		||||
            path: '/zh-CN/guide/sponsor',
 | 
			
		||||
          },
 | 
			
		||||
          {
 | 
			
		||||
            id: 7,
 | 
			
		||||
            title: '贡献',
 | 
			
		||||
            subTitle: 'contribution',
 | 
			
		||||
            path: '/zh-CN/guide/contribution',
 | 
			
		||||
          },
 | 
			
		||||
        ],
 | 
			
		||||
      },
 | 
			
		||||
    ]
 | 
			
		||||
 | 
			
		||||
@ -28,14 +28,14 @@
 | 
			
		||||
  "author": "就眠儀式",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "peerDependencies": {
 | 
			
		||||
    "vue": "^3.2.23",
 | 
			
		||||
    "vue": "^3.2.24",
 | 
			
		||||
    "vue-router": "^4.0.12",
 | 
			
		||||
    "@layui/layer-vue": "^1.0.7",
 | 
			
		||||
    "@layui/icons-vue": "^1.0.0",
 | 
			
		||||
    "@layui/hooks-vue": "^0.1.6"
 | 
			
		||||
  },
 | 
			
		||||
  "dependencies": {
 | 
			
		||||
    "vue": "^3.2.23",
 | 
			
		||||
    "vue": "^3.2.24",
 | 
			
		||||
    "vue-router": "^4.0.12",
 | 
			
		||||
    "@layui/layer-vue": "^1.0.7",
 | 
			
		||||
    "@layui/icons-vue": "^1.0.0",
 | 
			
		||||
@ -50,8 +50,8 @@
 | 
			
		||||
    "@types/markdown-it": "^12.2.3",
 | 
			
		||||
    "@types/markdown-it-container": "^2.0.4",
 | 
			
		||||
    "@vitejs/plugin-vue": "^1.9.3",
 | 
			
		||||
    "@vue/compiler-sfc": "^3.2.23",
 | 
			
		||||
    "@vue/server-renderer": "^3.2.23",
 | 
			
		||||
    "@vue/compiler-sfc": "^3.2.24",
 | 
			
		||||
    "@vue/server-renderer": "^3.2.24",
 | 
			
		||||
    "escape-html": "^1.0.3",
 | 
			
		||||
    "less": "^4.1.2",
 | 
			
		||||
    "markdown-it-container": "^3.0.0",
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user