【发布时间】:2015-07-16 07:22:50
【问题描述】:
我在 angularjs 中使用 kenoui 上传器, 我可以上传文件,但我无法保存该文件。
我的问题是如何在选项中给出 saveUrl 和 removeUrl
这是我下面的代码,
index.html
<input name="files"
type="file"
kendo-upload
k-options="fileAttachmentConfig"
k-select="onSelect" />
index-ctrl.js
$scope.fileAttachmentConfig = {
async: {
saveUrl: 'app/images/client',
removeUrl: 'remove',
autoUpload: false
}
}
那么如何处理 saveUrl 和 removeUrl 以及如何将文件保存到我的本地路径?
【问题讨论】:
标签: javascript jquery angularjs kendo-ui