mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-09-06 14:46:44 +08:00
parent
7715e6864f
commit
d7d0ab3d39
4 changed files with 4 additions and 20 deletions
2
@rbv
2
@rbv
|
@ -1 +1 @@
|
|||
Subproject commit 7fc82f58f0a343da749893293530a7f435ed5665
|
||||
Subproject commit b13226fbddc16aa9bfef8b84c76a5b841d5333a3
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
</parent>
|
||||
<groupId>com.rebuild</groupId>
|
||||
<artifactId>rebuild</artifactId>
|
||||
<version>3.9.5</version>
|
||||
<version>3.9.6</version>
|
||||
<name>rebuild</name>
|
||||
<description>Building your business-systems freely!</description>
|
||||
<url>https://getrebuild.com/</url>
|
||||
|
|
|
@ -74,11 +74,11 @@ public class Application implements ApplicationListener<ApplicationStartedEvent>
|
|||
/**
|
||||
* Rebuild Version
|
||||
*/
|
||||
public static final String VER = "3.9.5";
|
||||
public static final String VER = "3.9.6";
|
||||
/**
|
||||
* Rebuild Build [MAJOR]{1}[MINOR]{2}[PATCH]{2}[BUILD]{2}
|
||||
*/
|
||||
public static final int BUILD = 3090510;
|
||||
public static final int BUILD = 3090610;
|
||||
|
||||
static {
|
||||
// Driver for DB
|
||||
|
|
|
@ -27,15 +27,6 @@ class RbPreview extends React.Component {
|
|||
const currentUrl = this.props.urls[this.state.currentIndex]
|
||||
const fileName = $fileCutName(currentUrl)
|
||||
const downloadUrl = this._buildAbsoluteUrl(currentUrl, 'attname=' + $encode(fileName))
|
||||
// fix:3.9.5 钉钉内下载
|
||||
if ($env.isDingTalk()) {
|
||||
$.get(`/filex/make-url?url=${currentUrl}`, (res) => {
|
||||
if (res.data.publicUrl) {
|
||||
let s = res.data.publicUrl + '&attname=' + $encode(fileName)
|
||||
$(this._dlg).find('.J_downloadUrl').attr('href', s)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
let previewContent = null
|
||||
if (this._isImage(fileName)) previewContent = this.renderImage()
|
||||
|
@ -219,13 +210,6 @@ class RbPreview extends React.Component {
|
|||
previewUrl = `${rb.baseUrl}/filex/` + url.split('/filex/')[1]
|
||||
}
|
||||
}
|
||||
|
||||
// fix:3.9.1 PC钉钉预览PDF
|
||||
if ($env.isDingTalk()) {
|
||||
window.open(previewUrl)
|
||||
that.hide()
|
||||
return
|
||||
}
|
||||
}
|
||||
that.setState({ previewUrl: previewUrl, errorMsg: null })
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue