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