Skip to content

Commit

Permalink
Update upload.js
Browse files Browse the repository at this point in the history
  • Loading branch information
gwcx authored Aug 8, 2023
1 parent e176785 commit 092a816
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asset/js/upload.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
const BASE_URL = window.location.origin;
$.fn.fileinput.defaults.language = 'zh';
let $smfile = $("#files");
let $smfile = $("#file");
$smfile.fileinput({
// theme: 'fas',
uploadUrl: BASE_URL + '/upload',
Expand Down

0 comments on commit 092a816

Please sign in to comment.