Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Springboot Plus
Commits
aec1ae48
"admin-console/vscode:/vscode.git/clone" did not exist on "3dcf8af420cb5d82fe0a76de0a4aba87a4915a9c"
Commit
aec1ae48
authored
May 03, 2018
by
上善若水
Committed by
闲.大赋
May 03, 2018
Browse files
!16 附件预览窗口在top层弹出。
Merge pull request !16 from 上善若水/master
parents
7054a18e
4b1c623b
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin-core/src/main/resources/templates/common/tag/attachment.tag.html
View file @
aec1ae48
...
...
@@ -137,8 +137,8 @@ function() {
//文件下载地址
var
file
=
encodeURIComponent
(
"
http://
"
+
window
.
location
.
host
+
"
/core/file/download/
"
+
fileId
+
"
/${batchFileUUID}/
"
+
fileName
);
//8012为预览服务器地址,参考 https://gitee.com/kekingcn/file-online-preview 安装
Common
.
o
penDlg
(
"
${env('file.previewURL')}?url=
"
+
file
,
fileName
+
"
预览
"
)
//window.open("
http://localhost:8012/onlinePreview?url="+file
);
Common
.
topO
penDlg
(
"
${env('file.previewURL')}?url=
"
+
file
,
fileName
+
"
预览
"
)
;
//window.open("
${env('file.previewURL')}?url="+file,fileName+"预览"
);
return
false
;
});
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment