fix(warming): 修复大部分语法警告

This commit is contained in:
就眠仪式 2021-10-11 04:31:43 +08:00
parent 94b37a19f9
commit bfede81ebf
4 changed files with 12 additions and 18 deletions

View File

@ -5,7 +5,7 @@
<lay-menu-item title="首页" id="1"></lay-menu-item>
<lay-menu-item title="用户" id="2"></lay-menu-item>
<lay-menu-item title="角色" id="3"></lay-menu-item>
<lay-menu-item title="目录">
<lay-menu-item title="目录" id="7">
<lay-menu-child-item title="菜单一" id="4"></lay-menu-child-item>
<lay-menu-child-item title="菜单二" id="5"></lay-menu-child-item>
<lay-menu-child-item title="菜单三" id="6"></lay-menu-child-item>
@ -34,7 +34,7 @@ export default {
<lay-menu-item title="首页" id="1"></lay-menu-item>
<lay-menu-item title="用户" id="2"></lay-menu-item>
<lay-menu-item title="角色" id="3"></lay-menu-item>
<lay-menu-item title="目录">
<lay-menu-item title="目录" id="7">
<lay-menu-child-item title="菜单一" id="4"></lay-menu-child-item>
<lay-menu-child-item title="菜单二" id="5"></lay-menu-child-item>
<lay-menu-child-item title="菜单三" id="6"></lay-menu-child-item>

View File

@ -44,7 +44,7 @@ export default {
::: demo
<template>
<lay-rate v-model="all2" length="10"></lay-rate> {{all2}}
<lay-rate v-model="all2" length=10></lay-rate> {{all2}}
</template>
<script>

View File

@ -27,7 +27,7 @@ const props =
modelValue: Array<unknown>
label: string
disabled?: boolean
name: string
name?: string
skin?: string
}>()

View File

@ -58,22 +58,16 @@ const props = withDefaults(
defineProps<{
total: number
limit: number
theme: boolean
showPage: boolean
showSkip: boolean
showCount: boolean
showLimit: boolean
showInput: boolean
showRefresh: boolean
theme?: string
showPage?: boolean
showSkip?: boolean
showCount?: boolean
showLimit?: boolean
showInput?: boolean
showRefresh?: boolean
}>(),
{
limit: 10,
showSkip: false,
showPage: false,
showCount: false,
showLimit: false,
showInput: false,
showRefresh: false,
limit: 10
}
)