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="1"></lay-menu-item>
<lay-menu-item title="用户" id="2"></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="角色" 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="4"></lay-menu-child-item>
<lay-menu-child-item title="菜单二" id="5"></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> <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="1"></lay-menu-item>
<lay-menu-item title="用户" id="2"></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="角色" 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="4"></lay-menu-child-item>
<lay-menu-child-item title="菜单二" id="5"></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> <lay-menu-child-item title="菜单三" id="6"></lay-menu-child-item>

View File

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

View File

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

View File

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