[更新] README.md

This commit is contained in:
就眠仪式
2021-09-27 11:27:36 +08:00
parent 978369a60b
commit 663cb908b5
2 changed files with 115 additions and 9 deletions

View File

@@ -1,15 +1,18 @@
<template>
<button class="layui-btn" :class="[type ? 'layui-btn-' + type : '',size ? 'layui-btn-' + size : '']">
<slot></slot>
</button>
<button
class="layui-btn"
:class="[type ? 'layui-btn-' + type : '', size ? 'layui-btn-' + size : '']"
>
<slot></slot>
</button>
</template>
<script setup name="LayButton" lang="ts">
import { defineProps } from "@vue/runtime-core";
const props = defineProps<{
type?: string,
size?: string
}>()
import { defineProps } from '@vue/runtime-core'
const props =
defineProps<{
type?: string
size?: string
}>()
</script>