[修复] checkbox 和 progress 警告
This commit is contained in:
parent
4bad992d9b
commit
cdd220b7f0
@ -145,9 +145,9 @@ export default {
|
||||
|
||||
<template>
|
||||
<lay-form>
|
||||
<lay-checkbox skin="primary" v-model="checked" label="1">写作</lay-checkbox>
|
||||
<lay-checkbox skin="primary" v-model="checked" label="2">画画</lay-checkbox>
|
||||
<lay-checkbox skin="primary" v-model="checked" label="3">运动</lay-checkbox>
|
||||
<lay-checkbox name="like" skin="primary" v-model="checked" label="1">写作</lay-checkbox>
|
||||
<lay-checkbox name="like" skin="primary" v-model="checked" label="2">画画</lay-checkbox>
|
||||
<lay-checkbox name="like" skin="primary" v-model="checked" label="3">运动</lay-checkbox>
|
||||
</lay-form>
|
||||
{{checked}}
|
||||
</template>
|
||||
|
@ -9,9 +9,9 @@ import { defineProps } from 'vue'
|
||||
|
||||
const props =
|
||||
defineProps<{
|
||||
type: string
|
||||
theme: string
|
||||
color: string
|
||||
type?: string
|
||||
theme?: string
|
||||
color?: string
|
||||
}>()
|
||||
|
||||
const classList = [{
|
||||
|
@ -26,9 +26,9 @@ const props =
|
||||
defineProps<{
|
||||
modelValue: Array<unknown>
|
||||
label: string
|
||||
disabled: boolean
|
||||
disabled?: boolean
|
||||
name: string
|
||||
skin: string
|
||||
skin?: string
|
||||
}>()
|
||||
|
||||
const hasValue = ref(false)
|
||||
|
@ -21,7 +21,7 @@ import { defineProps } from 'vue'
|
||||
|
||||
const props =
|
||||
defineProps<{
|
||||
percent: number
|
||||
percent: number | string
|
||||
theme?: string
|
||||
color?: string
|
||||
size?: string
|
||||
|
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="layui-side">
|
||||
<div class="layui-side" :class="black?'layui-bg-black':''">
|
||||
<div class="layui-side-scroll">
|
||||
<slot></slot>
|
||||
</div>
|
||||
@ -7,4 +7,8 @@
|
||||
</template>
|
||||
|
||||
<script setup name="LaySide" lang="ts">
|
||||
const props =
|
||||
defineProps<{
|
||||
black?: boolean
|
||||
}>()
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user