mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-27 20:49:03 +08:00
fix: 解决终端连接无法正常打开的问题 (#2710)
This commit is contained in:
parent
e952b77334
commit
32c6826496
@ -41,7 +41,7 @@ type CommonRecover struct {
|
||||
type RecordSearch struct {
|
||||
PageInfo
|
||||
Type string `json:"type" validate:"required"`
|
||||
Name string `json:"name" validate:"required"`
|
||||
Name string `json:"name"`
|
||||
DetailName string `json:"detailName"`
|
||||
}
|
||||
|
||||
|
@ -42,6 +42,6 @@ type DeleteByName struct {
|
||||
}
|
||||
|
||||
type OperationWithNameAndType struct {
|
||||
Name string `json:"name" validate:"required"`
|
||||
Name string `json:"name"`
|
||||
Type string `json:"type" validate:"required"`
|
||||
}
|
||||
|
4
frontend/package-lock.json
generated
4
frontend/package-lock.json
generated
@ -1,11 +1,11 @@
|
||||
{
|
||||
"name": "panel",
|
||||
"name": "1Panel-Frontend",
|
||||
"version": "1.7",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "panel",
|
||||
"name": "1Panel-Frontend",
|
||||
"version": "1.7",
|
||||
"dependencies": {
|
||||
"@codemirror/lang-javascript": "^6.1.0",
|
||||
|
@ -40,7 +40,7 @@ const acceptParams = (props: WsProps) => {
|
||||
if (props.error.length !== 0) {
|
||||
initError(props.error);
|
||||
} else {
|
||||
initCmd.value = props.initCmd;
|
||||
initCmd.value = props.initCmd || '';
|
||||
init(props.endpoint, props.args);
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user