Skip to content

Commit a512b36

Browse files
committed
dispose xterm after console unmounted
1 parent 3348177 commit a512b36

File tree

7 files changed

+78
-75
lines changed

7 files changed

+78
-75
lines changed

frontend/src/language/en/app.po

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ msgstr "Add Site"
4242
msgid "Advance Mode"
4343
msgstr "Advance Mode"
4444

45-
#: src/components/StdDataDisplay/StdTable.vue:39
45+
#: src/components/StdDataDisplay/StdTable.vue:41
4646
#: src/views/domain/DomainList.vue:27
4747
#, fuzzy
4848
msgid "Are you sure you want to delete ?"
@@ -60,11 +60,11 @@ msgstr "Auto-renewal disabled for %{name}"
6060
msgid "Auto-renewal enabled for %{name}"
6161
msgstr "Auto-renewal enabled for %{name}"
6262

63-
#: src/views/domain/DomainEdit.vue:157
63+
#: src/views/domain/DomainEdit.vue:158
6464
msgid "Back"
6565
msgstr "Back"
6666

67-
#: src/views/other/Error.vue:11
67+
#: src/views/other/Error.vue:12
6868
#, fuzzy
6969
msgid "Back Home"
7070
msgstr "Back"
@@ -101,7 +101,7 @@ msgstr "Certificate Status"
101101
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:29
102102
#: src/views/domain/ngx_conf/LocationEditor.vue:21
103103
#: src/views/domain/ngx_conf/LocationEditor.vue:7
104-
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:141
104+
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:145
105105
msgid "Comments"
106106
msgstr "Comments"
107107

@@ -146,7 +146,7 @@ msgstr "Dashboard"
146146
msgid "Database (Optional, default: database)"
147147
msgstr "Database (Optional, default: database)"
148148

149-
#: src/components/StdDataDisplay/StdTable.vue:216
149+
#: src/components/StdDataDisplay/StdTable.vue:218
150150
#: src/views/domain/DomainList.vue:111
151151
msgid "Delete"
152152
msgstr ""
@@ -292,11 +292,11 @@ msgstr "Location"
292292
msgid "Locations"
293293
msgstr "Locations"
294294

295-
#: src/routes/index.ts:108 src/views/other/Login.vue:92
295+
#: src/routes/index.ts:108 src/views/other/Login.vue:99
296296
msgid "Login"
297297
msgstr "Login"
298298

299-
#: src/views/other/Login.vue:45
299+
#: src/views/other/Login.vue:52
300300
msgid "Login successful"
301301
msgstr "Login successful"
302302

@@ -333,11 +333,11 @@ msgid "Memory and Storage"
333333
msgstr "Memory and Storage"
334334

335335
#: src/components/StdDataDisplay/StdCurd.vue:24
336-
#: src/components/StdDataDisplay/StdTable.vue:14
337-
#: src/components/StdDataDisplay/StdTable.vue:15
338-
#: src/components/StdDataDisplay/StdTable.vue:19
339-
#: src/components/StdDataDisplay/StdTable.vue:29
336+
#: src/components/StdDataDisplay/StdTable.vue:16
337+
#: src/components/StdDataDisplay/StdTable.vue:17
338+
#: src/components/StdDataDisplay/StdTable.vue:21
340339
#: src/components/StdDataDisplay/StdTable.vue:31
340+
#: src/components/StdDataDisplay/StdTable.vue:33
341341
#, fuzzy
342342
msgid "Modify"
343343
msgstr "Modify Config"
@@ -370,7 +370,7 @@ msgstr "Network Total Send"
370370
msgid "Next"
371371
msgstr "Next"
372372

373-
#: src/components/StdDataDisplay/StdTable.vue:37
373+
#: src/components/StdDataDisplay/StdTable.vue:39
374374
#: src/views/domain/DomainList.vue:25
375375
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:17
376376
msgid "No"
@@ -393,7 +393,7 @@ msgstr ""
393393
"you need to get the certificate."
394394

395395
#: src/components/StdDataDisplay/StdCurd.vue:27
396-
#: src/components/StdDataDisplay/StdTable.vue:38
396+
#: src/components/StdDataDisplay/StdTable.vue:40
397397
#: src/views/domain/DomainList.vue:26
398398
msgid "OK"
399399
msgstr ""
@@ -423,11 +423,11 @@ msgstr "Path"
423423
msgid "Please input your E-mail!"
424424
msgstr "Please input your E-mail!"
425425

426-
#: src/views/other/Install.vue:48 src/views/other/Login.vue:34
426+
#: src/views/other/Install.vue:48 src/views/other/Login.vue:41
427427
msgid "Please input your password!"
428428
msgstr "Please input your password!"
429429

430-
#: src/views/other/Install.vue:42 src/views/other/Login.vue:28
430+
#: src/views/other/Install.vue:42 src/views/other/Login.vue:35
431431
msgid "Please input your username!"
432432
msgstr "Please input your username!"
433433

@@ -443,11 +443,11 @@ msgstr "Reads"
443443
msgid "Receive"
444444
msgstr "Receive"
445445

446-
#: src/components/StdDataDisplay/StdTable.vue:186
446+
#: src/components/StdDataDisplay/StdTable.vue:187
447447
msgid "Reset"
448448
msgstr ""
449449

450-
#: src/views/config/ConfigEdit.vue:52 src/views/domain/DomainEdit.vue:160
450+
#: src/views/config/ConfigEdit.vue:52 src/views/domain/DomainEdit.vue:161
451451
msgid "Save"
452452
msgstr "Save"
453453

@@ -482,7 +482,7 @@ msgstr "Send"
482482
#: src/views/config/ConfigEdit.vue:22 src/views/domain/DomainEdit.vue:44
483483
#: src/views/domain/DomainEdit.vue:56 src/views/domain/DomainEdit.vue:65
484484
#: src/views/domain/DomainEdit.vue:83 src/views/domain/DomainList.vue:78
485-
#: src/views/other/Install.vue:71 src/views/other/Login.vue:49
485+
#: src/views/other/Install.vue:71 src/views/other/Login.vue:56
486486
msgid "Server error"
487487
msgstr "Server error"
488488

frontend/src/language/messages.pot

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ msgstr ""
3737
msgid "Advance Mode"
3838
msgstr ""
3939

40-
#: src/components/StdDataDisplay/StdTable.vue:39
40+
#: src/components/StdDataDisplay/StdTable.vue:41
4141
#: src/views/domain/DomainList.vue:27
4242
msgid "Are you sure you want to delete ?"
4343
msgstr ""
@@ -54,11 +54,11 @@ msgstr ""
5454
msgid "Auto-renewal enabled for %{name}"
5555
msgstr ""
5656

57-
#: src/views/domain/DomainEdit.vue:157
57+
#: src/views/domain/DomainEdit.vue:158
5858
msgid "Back"
5959
msgstr ""
6060

61-
#: src/views/other/Error.vue:11
61+
#: src/views/other/Error.vue:12
6262
msgid "Back Home"
6363
msgstr ""
6464

@@ -94,7 +94,7 @@ msgstr ""
9494
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:29
9595
#: src/views/domain/ngx_conf/LocationEditor.vue:21
9696
#: src/views/domain/ngx_conf/LocationEditor.vue:7
97-
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:141
97+
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:145
9898
msgid "Comments"
9999
msgstr ""
100100

@@ -139,7 +139,7 @@ msgstr ""
139139
msgid "Database (Optional, default: database)"
140140
msgstr ""
141141

142-
#: src/components/StdDataDisplay/StdTable.vue:216
142+
#: src/components/StdDataDisplay/StdTable.vue:218
143143
#: src/views/domain/DomainList.vue:111
144144
msgid "Delete"
145145
msgstr ""
@@ -296,11 +296,11 @@ msgid "Locations"
296296
msgstr ""
297297

298298
#: src/routes/index.ts:108
299-
#: src/views/other/Login.vue:92
299+
#: src/views/other/Login.vue:99
300300
msgid "Login"
301301
msgstr ""
302302

303-
#: src/views/other/Login.vue:45
303+
#: src/views/other/Login.vue:52
304304
msgid "Login successful"
305305
msgstr ""
306306

@@ -335,11 +335,11 @@ msgid "Memory and Storage"
335335
msgstr ""
336336

337337
#: src/components/StdDataDisplay/StdCurd.vue:24
338-
#: src/components/StdDataDisplay/StdTable.vue:14
339-
#: src/components/StdDataDisplay/StdTable.vue:15
340-
#: src/components/StdDataDisplay/StdTable.vue:19
341-
#: src/components/StdDataDisplay/StdTable.vue:29
338+
#: src/components/StdDataDisplay/StdTable.vue:16
339+
#: src/components/StdDataDisplay/StdTable.vue:17
340+
#: src/components/StdDataDisplay/StdTable.vue:21
342341
#: src/components/StdDataDisplay/StdTable.vue:31
342+
#: src/components/StdDataDisplay/StdTable.vue:33
343343
msgid "Modify"
344344
msgstr ""
345345

@@ -372,7 +372,7 @@ msgstr ""
372372
msgid "Next"
373373
msgstr ""
374374

375-
#: src/components/StdDataDisplay/StdTable.vue:37
375+
#: src/components/StdDataDisplay/StdTable.vue:39
376376
#: src/views/domain/DomainList.vue:25
377377
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:17
378378
msgid "No"
@@ -392,7 +392,7 @@ msgid "Note: The server_name in the current configuration must be the domain nam
392392
msgstr ""
393393

394394
#: src/components/StdDataDisplay/StdCurd.vue:27
395-
#: src/components/StdDataDisplay/StdTable.vue:38
395+
#: src/components/StdDataDisplay/StdTable.vue:40
396396
#: src/views/domain/DomainList.vue:26
397397
msgid "OK"
398398
msgstr ""
@@ -424,12 +424,12 @@ msgid "Please input your E-mail!"
424424
msgstr ""
425425

426426
#: src/views/other/Install.vue:48
427-
#: src/views/other/Login.vue:34
427+
#: src/views/other/Login.vue:41
428428
msgid "Please input your password!"
429429
msgstr ""
430430

431431
#: src/views/other/Install.vue:42
432-
#: src/views/other/Login.vue:28
432+
#: src/views/other/Login.vue:35
433433
msgid "Please input your username!"
434434
msgstr ""
435435

@@ -446,12 +446,12 @@ msgstr ""
446446
msgid "Receive"
447447
msgstr ""
448448

449-
#: src/components/StdDataDisplay/StdTable.vue:186
449+
#: src/components/StdDataDisplay/StdTable.vue:187
450450
msgid "Reset"
451451
msgstr ""
452452

453453
#: src/views/config/ConfigEdit.vue:52
454-
#: src/views/domain/DomainEdit.vue:160
454+
#: src/views/domain/DomainEdit.vue:161
455455
msgid "Save"
456456
msgstr ""
457457

@@ -492,7 +492,7 @@ msgstr ""
492492
#: src/views/domain/DomainEdit.vue:83
493493
#: src/views/domain/DomainList.vue:78
494494
#: src/views/other/Install.vue:71
495-
#: src/views/other/Login.vue:49
495+
#: src/views/other/Login.vue:56
496496
msgid "Server error"
497497
msgstr ""
498498

frontend/src/language/zh_CN/app.po

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ msgstr "添加站点"
4545
msgid "Advance Mode"
4646
msgstr "高级模式"
4747

48-
#: src/components/StdDataDisplay/StdTable.vue:39
48+
#: src/components/StdDataDisplay/StdTable.vue:41
4949
#: src/views/domain/DomainList.vue:27
5050
msgid "Are you sure you want to delete ?"
5151
msgstr "您确定要删除吗?"
@@ -62,11 +62,11 @@ msgstr "成功关闭 %{name} 自动续签"
6262
msgid "Auto-renewal enabled for %{name}"
6363
msgstr "成功启用 %{name} 自动续签"
6464

65-
#: src/views/domain/DomainEdit.vue:157
65+
#: src/views/domain/DomainEdit.vue:158
6666
msgid "Back"
6767
msgstr "返回"
6868

69-
#: src/views/other/Error.vue:11
69+
#: src/views/other/Error.vue:12
7070
msgid "Back Home"
7171
msgstr "返回首页"
7272

@@ -102,7 +102,7 @@ msgstr "证书状态"
102102
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:29
103103
#: src/views/domain/ngx_conf/LocationEditor.vue:21
104104
#: src/views/domain/ngx_conf/LocationEditor.vue:7
105-
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:141
105+
#: src/views/domain/ngx_conf/NgxConfigEditor.vue:145
106106
msgid "Comments"
107107
msgstr "注释"
108108

@@ -147,7 +147,7 @@ msgstr "仪表盘"
147147
msgid "Database (Optional, default: database)"
148148
msgstr "数据库 (可选,默认: database)"
149149

150-
#: src/components/StdDataDisplay/StdTable.vue:216
150+
#: src/components/StdDataDisplay/StdTable.vue:218
151151
#: src/views/domain/DomainList.vue:111
152152
msgid "Delete"
153153
msgstr "删除"
@@ -292,11 +292,11 @@ msgstr "Location"
292292
msgid "Locations"
293293
msgstr "Locations"
294294

295-
#: src/routes/index.ts:108 src/views/other/Login.vue:92
295+
#: src/routes/index.ts:108 src/views/other/Login.vue:99
296296
msgid "Login"
297297
msgstr "登录"
298298

299-
#: src/views/other/Login.vue:45
299+
#: src/views/other/Login.vue:52
300300
msgid "Login successful"
301301
msgstr "登录成功"
302302

@@ -333,11 +333,11 @@ msgid "Memory and Storage"
333333
msgstr "内存与存储"
334334

335335
#: src/components/StdDataDisplay/StdCurd.vue:24
336-
#: src/components/StdDataDisplay/StdTable.vue:14
337-
#: src/components/StdDataDisplay/StdTable.vue:15
338-
#: src/components/StdDataDisplay/StdTable.vue:19
339-
#: src/components/StdDataDisplay/StdTable.vue:29
336+
#: src/components/StdDataDisplay/StdTable.vue:16
337+
#: src/components/StdDataDisplay/StdTable.vue:17
338+
#: src/components/StdDataDisplay/StdTable.vue:21
340339
#: src/components/StdDataDisplay/StdTable.vue:31
340+
#: src/components/StdDataDisplay/StdTable.vue:33
341341
msgid "Modify"
342342
msgstr "修改"
343343

@@ -369,7 +369,7 @@ msgstr "上传流量"
369369
msgid "Next"
370370
msgstr "下一步"
371371

372-
#: src/components/StdDataDisplay/StdTable.vue:37
372+
#: src/components/StdDataDisplay/StdTable.vue:39
373373
#: src/views/domain/DomainList.vue:25
374374
#: src/views/domain/ngx_conf/directive/DirectiveEditor.vue:17
375375
msgid "No"
@@ -390,7 +390,7 @@ msgid ""
390390
msgstr "注意:当前配置中的 server_name 必须为需要申请证书的域名。"
391391

392392
#: src/components/StdDataDisplay/StdCurd.vue:27
393-
#: src/components/StdDataDisplay/StdTable.vue:38
393+
#: src/components/StdDataDisplay/StdTable.vue:40
394394
#: src/views/domain/DomainList.vue:26
395395
msgid "OK"
396396
msgstr "确定"
@@ -420,11 +420,11 @@ msgstr "路径"
420420
msgid "Please input your E-mail!"
421421
msgstr "请输入您的邮箱!"
422422

423-
#: src/views/other/Install.vue:48 src/views/other/Login.vue:34
423+
#: src/views/other/Install.vue:48 src/views/other/Login.vue:41
424424
msgid "Please input your password!"
425425
msgstr "请输入您的密码!"
426426

427-
#: src/views/other/Install.vue:42 src/views/other/Login.vue:28
427+
#: src/views/other/Install.vue:42 src/views/other/Login.vue:35
428428
msgid "Please input your username!"
429429
msgstr "请输入您的用户名!"
430430

@@ -440,11 +440,11 @@ msgstr "读"
440440
msgid "Receive"
441441
msgstr "下载"
442442

443-
#: src/components/StdDataDisplay/StdTable.vue:186
443+
#: src/components/StdDataDisplay/StdTable.vue:187
444444
msgid "Reset"
445445
msgstr "重置"
446446

447-
#: src/views/config/ConfigEdit.vue:52 src/views/domain/DomainEdit.vue:160
447+
#: src/views/config/ConfigEdit.vue:52 src/views/domain/DomainEdit.vue:161
448448
msgid "Save"
449449
msgstr "保存"
450450

@@ -478,7 +478,7 @@ msgstr "上传"
478478
#: src/views/config/ConfigEdit.vue:22 src/views/domain/DomainEdit.vue:44
479479
#: src/views/domain/DomainEdit.vue:56 src/views/domain/DomainEdit.vue:65
480480
#: src/views/domain/DomainEdit.vue:83 src/views/domain/DomainList.vue:78
481-
#: src/views/other/Install.vue:71 src/views/other/Login.vue:49
481+
#: src/views/other/Install.vue:71 src/views/other/Login.vue:56
482482
msgid "Server error"
483483
msgstr "服务器错误"
484484

0 commit comments

Comments
 (0)