(all): 发布 1.2.0

更新文档
This commit is contained in:
就眠儀式 2022-06-23 23:15:04 +08:00
parent 3baa31a39b
commit 5ef3402f6f
4 changed files with 17 additions and 8 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@layui/layui-vue", "name": "@layui/layui-vue",
"version": "1.1.10", "version": "1.2.0",
"author": "就眠儀式", "author": "就眠儀式",
"license": "MIT", "license": "MIT",
"description": "a component library for Vue 3 base on layui-vue", "description": "a component library for Vue 3 base on layui-vue",

View File

@ -5,7 +5,7 @@ export default {
</script> </script>
<script setup lang="ts"> <script setup lang="ts">
import { inject, Ref, computed, ref, VNodeChild } from "vue"; import { inject, Ref, computed, ref } from "vue";
const props = defineProps<{ const props = defineProps<{
id: string; id: string;

View File

@ -1,16 +1,26 @@
<template> <template>
<div class="contributor"> <div class="contributor">
<lay-tooltip :content="contributor.login" v-for="contributor in contributors" :key="contributor.id" <lay-tooltip
:is-dark="false"> :content="contributor.login"
v-for="contributor in contributors"
:key="contributor.id"
:is-dark="false"
>
<a :href="contributor.htmlUrl" target="_blank"> <a :href="contributor.htmlUrl" target="_blank">
<lay-avatar :src="contributor.avatarUrl" radius></lay-avatar> <lay-avatar :src="contributor.avatarUrl" radius></lay-avatar>
</a> </a>
</lay-tooltip> </lay-tooltip>
</div> </div>
<lay-tooltip content="在线编辑" :is-dark="false"> <lay-tooltip content="在线编辑" :is-dark="false">
<a class="online-edit" <a
:href="'https://github.com/layui/layui-vue/edit/next/package/document/src/document/zh-CN/components/' + filePath + '.md'" class="online-edit"
target="_blank"> :href="
'https://github.com/layui/layui-vue/edit/next/package/document/src/document/zh-CN/components/' +
filePath +
'.md'
"
target="_blank"
>
<lay-icon type="layui-icon-edit"></lay-icon> <lay-icon type="layui-icon-edit"></lay-icon>
</a> </a>
</lay-tooltip> </lay-tooltip>

View File

@ -186,7 +186,6 @@ export default {
::: :::
::: title Carousel 属性 ::: title Carousel 属性
::: :::