diff --git a/examples/docs/en-US/upload.md b/examples/docs/en-US/upload.md index b63a13055..74f873488 100644 --- a/examples/docs/en-US/upload.md +++ b/examples/docs/en-US/upload.md @@ -163,7 +163,7 @@ Use `list-type` to change the fileList style. action="https://jsonplaceholder.typicode.com/posts/" :on-preview="handlePreview" :on-remove="handleRemove" - :file-list="fileList2" + :file-list="fileList" list-type="picture"> Click to upload
jpg/png files with a size less than 500kb
@@ -172,7 +172,7 @@ Use `list-type` to change the fileList style. export default { data() { return { - fileList2: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] + fileList: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] }; }, methods: { @@ -198,7 +198,7 @@ Use `on-change` hook function to control upload file list class="upload-demo" action="https://jsonplaceholder.typicode.com/posts/" :on-change="handleChange" - :file-list="fileList3"> + :file-list="fileList"> Click to upload
jpg/png files with a size less than 500kb
@@ -206,7 +206,7 @@ Use `on-change` hook function to control upload file list export default { data() { return { - fileList3: [{ + fileList: [{ name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }, { @@ -217,7 +217,7 @@ Use `on-change` hook function to control upload file list }, methods: { handleChange(file, fileList) { - this.fileList3 = fileList.slice(-3); + this.fileList = fileList.slice(-3); } } } diff --git a/examples/docs/es/upload.md b/examples/docs/es/upload.md index 7632cff0d..247074e95 100644 --- a/examples/docs/es/upload.md +++ b/examples/docs/es/upload.md @@ -159,7 +159,7 @@ Utilice la propiedad `list-type` para cambiar el estilo a un listado de archivos action="https://jsonplaceholder.typicode.com/posts/" :on-preview="handlePreview" :on-remove="handleRemove" - :file-list="fileList2" + :file-list="fileList" list-type="picture"> Clic para subir archivo
Solo archivos jpg/png con un tamaño menor de 500kb
@@ -168,7 +168,7 @@ Utilice la propiedad `list-type` para cambiar el estilo a un listado de archivos export default { data() { return { - fileList2: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] + fileList: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] }; }, methods: { @@ -194,7 +194,7 @@ Utilice el _hook_ `on-change` para controlar la funcionalidad de la lista de arc class="upload-demo" action="https://jsonplaceholder.typicode.com/posts/" :on-change="handleChange" - :file-list="fileList3"> + :file-list="fileList"> Clic para subir archivo
Solo archivos jpg/png con un tamaño menor de 500kb
@@ -202,7 +202,7 @@ Utilice el _hook_ `on-change` para controlar la funcionalidad de la lista de arc export default { data() { return { - fileList3: [{ + fileList: [{ name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }, { @@ -213,7 +213,7 @@ Utilice el _hook_ `on-change` para controlar la funcionalidad de la lista de arc }, methods: { handleChange(file, fileList) { - this.fileList3 = fileList.slice(-3); + this.fileList = fileList.slice(-3); } } } diff --git a/examples/docs/fr-FR/upload.md b/examples/docs/fr-FR/upload.md index 41d4b5613..9319f7f7f 100644 --- a/examples/docs/fr-FR/upload.md +++ b/examples/docs/fr-FR/upload.md @@ -163,7 +163,7 @@ Utilisez `list-type` pour changer le style de la liste de fichiers. action="https://jsonplaceholder.typicode.com/posts/" :on-preview="handlePreview" :on-remove="handleRemove" - :file-list="fileList2" + :file-list="fileList" list-type="picture"> Cliquer pour envoyer
Fichiers jpg/png avec une taille inférieure à 500kb
@@ -172,7 +172,7 @@ Utilisez `list-type` pour changer le style de la liste de fichiers. export default { data() { return { - fileList2: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] + fileList: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] }; }, methods: { @@ -198,7 +198,7 @@ Utilisez `on-change` pour contrôler le comportement de la liste de fichiers. class="upload-demo" action="https://jsonplaceholder.typicode.com/posts/" :on-change="handleChange" - :file-list="fileList3"> + :file-list="fileList"> Cliquer pour envoyer
Fichiers jpg/png avec une taille inférieure à 500kb
@@ -206,7 +206,7 @@ Utilisez `on-change` pour contrôler le comportement de la liste de fichiers. export default { data() { return { - fileList3: [{ + fileList: [{ name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }, { @@ -217,7 +217,7 @@ Utilisez `on-change` pour contrôler le comportement de la liste de fichiers. }, methods: { handleChange(file, fileList) { - this.fileList3 = fileList.slice(-3); + this.fileList = fileList.slice(-3); } } } diff --git a/examples/docs/zh-CN/upload.md b/examples/docs/zh-CN/upload.md index 7b8474282..a891d6d41 100644 --- a/examples/docs/zh-CN/upload.md +++ b/examples/docs/zh-CN/upload.md @@ -163,7 +163,7 @@ action="https://jsonplaceholder.typicode.com/posts/" :on-preview="handlePreview" :on-remove="handleRemove" - :file-list="fileList2" + :file-list="fileList" list-type="picture"> 点击上传
只能上传jpg/png文件,且不超过500kb
@@ -172,7 +172,7 @@ export default { data() { return { - fileList2: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] + fileList: [{name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}, {name: 'food2.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'}] }; }, methods: { @@ -198,7 +198,7 @@ class="upload-demo" action="https://jsonplaceholder.typicode.com/posts/" :on-change="handleChange" - :file-list="fileList3"> + :file-list="fileList"> 点击上传
只能上传jpg/png文件,且不超过500kb
@@ -206,7 +206,7 @@ export default { data() { return { - fileList3: [{ + fileList: [{ name: 'food.jpeg', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100' }, { @@ -217,7 +217,7 @@ }, methods: { handleChange(file, fileList) { - this.fileList3 = fileList.slice(-3); + this.fileList = fileList.slice(-3); } } }