示例代码错误

修改理由:
相关信息:
- 类型:文档文章
- 文章: 图片/文件上传
- 文档: 《Dcat Admin 中文文档(2.x)》
此投稿已在 4年前 合并。
内容修改:
Old | New | Differences |
---|---|---|
393 | 393 | // 上传文件前附加自定义参数到文件上传接口 |
394 | 394 | this.uploader.options.formData['custom_field'] = '...'; |
395 | 395 | } |
396 | ||
396 | JS | |
397 | 397 | ) |
398 | 398 | ->on('uploadFinished', <<<JS |
399 | 399 | function () { |
400 | 400 | console.log('文件上传完毕'); |
401 | 401 | } |
402 | ||
402 | JS | |
403 | 403 | ); |
404 | 404 | ``` |
405 | 405 |