forked from github/dataease
Merge pull request #1491 from dataease/pr@dev@fix_chrome_shot
fix: 截屏只有半屏
This commit is contained in:
commit
3a7166d4b1
@ -21,6 +21,11 @@
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>ru.yandex.qatools.ashot</groupId>
|
||||
<artifactId>ashot</artifactId>
|
||||
<version>1.5.4</version>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>com.google.guava</groupId>
|
||||
@ -255,6 +260,7 @@
|
||||
<groupId>org.seleniumhq.selenium</groupId>
|
||||
<artifactId>selenium-java</artifactId>
|
||||
</dependency>
|
||||
|
||||
</dependencies>
|
||||
|
||||
<build>
|
||||
@ -408,14 +414,14 @@
|
||||
</fileset>
|
||||
</move>
|
||||
|
||||
<move todir="src/main/resources/static/de-app">
|
||||
<copy todir="src/main/resources/static/de-app">
|
||||
<fileset dir="../../dataease-app/dist/build/h5">
|
||||
<exclude name="*.html"/>
|
||||
</fileset>
|
||||
</move>
|
||||
</copy>
|
||||
|
||||
|
||||
<move file="../../dataease-app/dist/build/h5/index.html" tofile="src/main/resources/templates/app.html" />
|
||||
<copy file="../../dataease-app/dist/build/h5/index.html" tofile="src/main/resources/templates/app.html" />
|
||||
|
||||
|
||||
</target>
|
||||
|
@ -153,7 +153,7 @@ public class EmailTaskHandler extends TaskHandler implements Job {
|
||||
|
||||
private String panelUrl(String panelId) {
|
||||
String domain = ServletUtils.domain();
|
||||
return domain + "/#/preview/" + panelId;
|
||||
return domain + "/#/previewScreenShot/" + panelId + "/true";
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -80,7 +80,7 @@ public class XEmailTaskServer {
|
||||
String panelId = request.getPanelId();
|
||||
String content = request.getContent();
|
||||
|
||||
String url = ServletUtils.domain() + "/#/preview/" + panelId;
|
||||
String url = ServletUtils.domain() + "/#/previewScreenShot/" + panelId + "/true";
|
||||
|
||||
String token = ServletUtils.getToken();
|
||||
String fileId = null;
|
||||
|
Loading…
Reference in New Issue
Block a user