feat: update

parent 28ff57ef
div, app-element-term, app-element-guacamole { div, app-element-term, app-element-iframe {
height: 100%; height: 100%;
padding-bottom: 30px;
} }
div { div {
......
...@@ -11,6 +11,5 @@ ...@@ -11,6 +11,5 @@
[userid]="m.user.id" [userid]="m.user.id"
[index]="i" [index]="i"
*ngIf="m.type=='rdp'"> *ngIf="m.type=='rdp'">
</app-element-iframe> </app-element-iframe>
</div> </div>
...@@ -17,7 +17,7 @@ export class ElementIframeComponent implements OnInit { ...@@ -17,7 +17,7 @@ export class ElementIframeComponent implements OnInit {
} }
ngOnInit() { ngOnInit() {
this.target = 'https://wx.qq.com/'; this.target = 'http://localhost:8080/#/client/MwBjAHBvc3RncmVzcWw=';
} }
trust(url) { trust(url) {
......
...@@ -44,7 +44,7 @@ export class ElementTermComponent implements OnInit, AfterViewInit { ...@@ -44,7 +44,7 @@ export class ElementTermComponent implements OnInit, AfterViewInit {
} }
} else { } else {
term.col = Math.floor(jQuery(this.el.nativeElement).width() / jQuery('#liuzheng').width() * 8) - 3; term.col = Math.floor(jQuery(this.el.nativeElement).width() / jQuery('#liuzheng').width() * 8) - 3;
term.row = Math.floor(jQuery(this.el.nativeElement).height() / jQuery('#liuzheng').height()) - 5; term.row = Math.floor(jQuery(this.el.nativeElement).height() / jQuery('#liuzheng').height()) - 3;
term.term = this.term; term.term = this.term;
} }
this.term.open(this.el.nativeElement, true); this.term.open(this.el.nativeElement, true);
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
set -ex set -ex
git checkout publish && \ git checkout github_dev && \
git pull github dev --rebase && \ git pull github dev --rebase && \
git merge master -m "publish" && \ git merge dev -m "publish" && \
git reset --soft HEAD^ && \ git reset --soft HEAD^ && \
git commit -m "publish" && \ git commit -m "publish" && \
git push github publish:dev && \ git push github github_dev:dev && \
echo "success" echo "success"
git checkout master git checkout dev
git pull github dev --commit && git push origin master git pull github dev --commit && git push origin dev
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