Merge branch 'next' of https://gitee.com/layui/layui-vue into next
This commit is contained in:
		
						commit
						f8f9ac6551
					
				@ -124,7 +124,7 @@ const footOnClear = () => {
 | 
			
		||||
  Day.value = -1;
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
const ChildUpdateModelValue=()=>{
 | 
			
		||||
const ChildUpdateModelValue = () => {
 | 
			
		||||
  emits("update:modelValue", Day.value);
 | 
			
		||||
}
 | 
			
		||||
};
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
@ -79,6 +79,7 @@ var timer: any;
 | 
			
		||||
const getOption = (nodes: VNode[]) => {
 | 
			
		||||
  nodes
 | 
			
		||||
    ?.filter((item: VNode) => {
 | 
			
		||||
      console.log(JSON.stringify(item));
 | 
			
		||||
      return item.children != "v-if";
 | 
			
		||||
    })
 | 
			
		||||
    ?.map((item: VNode) => {
 | 
			
		||||
 | 
			
		||||
@ -4,13 +4,13 @@
 | 
			
		||||
::: title 基本介绍
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: describe 需要一个简洁的确认框询问用户时。
 | 
			
		||||
::: describe 需要一个简洁的对话框询问用户时。
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: title 基础使用
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo
 | 
			
		||||
::: demo 通过 `layer.confirm` 方法, 创建一个对话框。
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
    <lay-button type="primary" @click="openConfirm1">信息框</lay-button>
 | 
			
		||||
@ -38,7 +38,7 @@ export default {
 | 
			
		||||
::: title 指定操作
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo
 | 
			
		||||
::: demo 使用 `btn` 属性, 自定义对话框操作列表。
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
    <lay-button type="primary" @click="openConfirm2">询问框</lay-button>
 | 
			
		||||
@ -63,7 +63,6 @@ export default {
 | 
			
		||||
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
::: title 组件方法
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -10,7 +10,7 @@
 | 
			
		||||
::: title 基础使用
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo
 | 
			
		||||
::: demo 使用 layer.load(type, options) 方法创建一个加载层, `type` 属性用于设置弹出层类型。
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
  <lay-button-container>
 | 
			
		||||
@ -53,7 +53,7 @@ export default {
 | 
			
		||||
::: title 其他方式
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo
 | 
			
		||||
::: demo 使用 `layer.msg` 方法, 设置 `icon` 为 16, 弹出一个带有加载动画的提示信息。
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
    <lay-button type="primary" @click="openLoading">加载消息</lay-button>
 | 
			
		||||
@ -81,7 +81,7 @@ export default {
 | 
			
		||||
::: title 手动关闭
 | 
			
		||||
:::
 | 
			
		||||
 | 
			
		||||
::: demo 使用 layer.msg 创建弹出层, time 属性用于配置显示时长
 | 
			
		||||
::: demo 通过 `layer.close()` 方法来关闭一个正在加载的实例。
 | 
			
		||||
 | 
			
		||||
<template>
 | 
			
		||||
  <lay-button-container>
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,7 @@
 | 
			
		||||
  <lay-select v-model="value" placeholder="请选择">
 | 
			
		||||
    <lay-select-option :value="1" label="学习"></lay-select-option>
 | 
			
		||||
    <lay-select-option :value="2" label="编码"></lay-select-option>
 | 
			
		||||
    <lay-select-option :value="3" label="运动"></lay-select-option>
 | 
			
		||||
    <lay-select-option :value="3" v-if="true" label="运动"></lay-select-option>
 | 
			
		||||
  </lay-select>
 | 
			
		||||
</template>
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -415,7 +415,7 @@ const menus = [
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        id: 92,
 | 
			
		||||
        title: "询问",
 | 
			
		||||
        title: "对话框",
 | 
			
		||||
        subTitle: "confirm",
 | 
			
		||||
        path: "/zh-CN/components/confirm",
 | 
			
		||||
      },
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user