From 1239e6dbe64e7a415bfb45bcc1bba937d937ad56 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B1=E7=9C=A0=E5=84=80=E5=BC=8F?= <854085467@qq.com> Date: Fri, 18 Nov 2022 10:12:09 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8(component):=20update?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package/component/package.json | 2 +- .../src/document/zh-CN/components/upload.md | 6 +++--- .../src/document/zh-CN/guide/changelog.md | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package/component/package.json b/package/component/package.json index e3e4ee03..e0d38cc4 100644 --- a/package/component/package.json +++ b/package/component/package.json @@ -1,6 +1,6 @@ { "name": "@layui/layui-vue", - "version": "1.7.7", + "version": "1.7.8", "author": "就眠儀式", "license": "MIT", "description": "a component library for Vue 3 base on layui-vue", diff --git a/package/document-component/src/document/zh-CN/components/upload.md b/package/document-component/src/document/zh-CN/components/upload.md index 01a8c5f4..dce30001 100644 --- a/package/document-component/src/document/zh-CN/components/upload.md +++ b/package/document-component/src/document/zh-CN/components/upload.md @@ -46,12 +46,12 @@ export default { ::: title 手动上传 ::: -::: demo 使用 `lay-upload` 标签, 创建一个上传按钮 +::: demo 通过设置 `auto` 属性为 `false`, 使用 `v-model` 接收选择的文件对象。 @@ -62,7 +62,7 @@ import { ref,reactive } from 'vue' export default {   setup() { - const file1 = ref(); + const file1 = ref([]);     return { file1 diff --git a/package/document-component/src/document/zh-CN/guide/changelog.md b/package/document-component/src/document/zh-CN/guide/changelog.md index 211d2ba6..8154d5ee 100644 --- a/package/document-component/src/document/zh-CN/guide/changelog.md +++ b/package/document-component/src/document/zh-CN/guide/changelog.md @@ -16,6 +16,7 @@
  • 1.7.8 2022-11-15