| | |
| | | visible3: false, |
| | | visible4: false, |
| | | visible5: false, |
| | | reverse: true, |
| | | reverse: false, |
| | | radio: 0, |
| | | fileList: [ |
| | | {name: 'food.pdf', url: 'https://fuss10.elemecdn.com/3/63/4e7f3a15429bfda99bce42a18cdd1jpeg.jpeg?imageMogr2/thumbnail/360x360/format/webp/quality/100'} |
| | |
| | | }, |
| | | methods: { |
| | | handleRemove(file, fileList) { |
| | | console.log(file, fileList); |
| | | console.log(file, fileList) |
| | | }, |
| | | handlePreview(file) { |
| | | console.log(file); |
| | | console.log(file) |
| | | }, |
| | | handleExceed(files, fileList) { |
| | | this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`); |
| | | this.$message.warning(`当前限制选择 3 个文件,本次选择了 ${files.length} 个文件,共选择了 ${files.length + fileList.length} 个文件`) |
| | | }, |
| | | beforeRemove(file, fileList) { |
| | | return this.$confirm(`确定移除 ${ file.name }?`); |
| | | return this.$confirm(`确定移除 ${file.name}?`) |
| | | }, |
| | | successEvent() { |
| | | |
| | | }, |
| | | handleSizeChange(val) { |
| | | console.log(`每页 ${val} 条`); |
| | | console.log(`每页 ${val} 条`) |
| | | }, |
| | | handleCurrentChange(val) { |
| | | console.log(`当前页: ${val}`); |
| | | console.log(`当前页: ${val}`) |
| | | }, |
| | | handleClick(tab, event) { |
| | | console.log(tab, event); |
| | | console.log(tab, event) |
| | | }, |
| | | onSubmit() { |
| | | |