Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
L
luna
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
luna
Commits
29dfdd16
Commit
29dfdd16
authored
Sep 17, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 调整分辨率
parent
907384a3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
setting.component.ts
src/app/elements/setting/setting.component.ts
+3
-4
model.ts
src/app/model.ts
+1
-1
No files found.
src/app/elements/setting/setting.component.ts
View file @
29dfdd16
import
{
Component
,
Inject
,
OnInit
}
from
'@angular/core'
;
import
{
MAT_DIALOG_DATA
,
MatDialogRef
}
from
'@angular/material'
;
import
{
Component
,
OnInit
}
from
'@angular/core'
;
import
{
MatDialogRef
}
from
'@angular/material'
;
import
{
SettingService
}
from
'@app/services'
;
import
{
Setting
}
from
'@app/model'
;
...
...
@@ -10,12 +10,11 @@ import {Setting} from '@app/model';
styles
:
[
'.mat-form-field { width: 100%;}'
]
})
export
class
ElementSettingComponent
implements
OnInit
{
solutionsChoices
=
[
'Auto'
,
'1024x768'
,
'1366x768'
,
'1
400x90
0'
];
solutionsChoices
=
[
'Auto'
,
'1024x768'
,
'1366x768'
,
'1
600x900'
,
'1920×108
0'
];
boolChoices
=
[{
name
:
'Yes'
,
value
:
'1'
},
{
name
:
'No'
,
value
:
'0'
}];
setting
:
Setting
;
constructor
(
public
dialogRef
:
MatDialogRef
<
ElementSettingComponent
>
,
@
Inject
(
MAT_DIALOG_DATA
)
public
data
:
any
,
private
settingSrv
:
SettingService
)
{
}
...
...
src/app/model.ts
View file @
29dfdd16
...
...
@@ -188,7 +188,7 @@ export class Monitor {
export
class
Setting
{
rdpSolution
:
string
=
'
1024x768
'
;
rdpSolution
:
string
=
'
Auto
'
;
fontSize
:
number
=
14
;
isLoadTreeAsync
:
string
=
'1'
;
isSkipAllManualPassword
:
string
=
'0'
;
...
...
Write
Preview
Markdown
is supported
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