记得上下班打卡 | git大法好,push需谨慎

Commit ef207634 authored by jiangxiulong's avatar jiangxiulong

改成单文件的文案

parent 360e4363
......@@ -104,7 +104,7 @@
<div class="form-group">
<label class="font-noraml">请上传封面图</label>
<div class="file-loading">
<input id="fileinput-demo-1" type="file" name="coverImgFile">
<input id="fileinput-demo-1" type="file" name="coverImgFile" data-browse-on-zone-click="true" data-msg-placeholder="Select {files} for upload...">
</div>
</div>
<input hidden id="coverImg" name="coverImg">
......@@ -356,8 +356,11 @@
$("#fileinput-demo-1").fileinput({
'theme': 'explorer-fas',
'uploadUrl': "/kylin/banners/upload3",
overwriteInitial: false,
initialPreviewAsData: true,
// overwriteInitial: false,
// initialPreviewAsData: true,
autoReplace: true,
dropZoneTitle: "请上传文件",
maxFileCount: 1
});
$("#fileinput-demo-1").on("fileuploaded", function(event, data, previewId, index) {
$("#coverImg").val(data.response.uploadpath)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment