File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
frontend/src/views/container Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ RestartAfterUpgrade: "Start Service After Upgrade"
8282
8383# add node
8484TaskAddNode : " Add Node"
85+ SyncAgentBaseInfo : " Sync Node Base Data"
8586GenerateSSLInfo : " Generate Node SSL Information"
8687ConnInfoNotMatch : " Connection information does not match" ;
8788MakeAgentPackage : " Generate Node Installation Package"
Original file line number Diff line number Diff line change @@ -82,6 +82,7 @@ RestartAfterUpgrade: "升級後啟動服務"
8282
8383# node create
8484TaskAddNode : " 添加節點"
85+ SyncAgentBaseInfo : " 同步節點基礎數據"
8586GenerateSSLInfo : " 生成節點 SSL 信息"
8687ConnInfoNotMatch : " 連接信息不匹配" ;
8788MakeAgentPackage : " 生成節點安裝包"
Original file line number Diff line number Diff line change @@ -83,6 +83,7 @@ RestartAfterUpgrade: "升级后启动服务"
8383
8484# add node
8585TaskAddNode : " 添加节点"
86+ SyncAgentBaseInfo : " 同步节点基础数据"
8687GenerateSSLInfo : " 生成节点 SSL 信息"
8788ConnInfoNotMatch : " 连接信息不匹配"
8889MakeAgentPackage : " 生成节点安装包"
Original file line number Diff line number Diff line change @@ -70,9 +70,9 @@ import { reactive, ref } from 'vue';
7070import FileList from ' @/components/file-list/index.vue' ;
7171import { Rules } from ' @/global/form-rules' ;
7272import i18n from ' @/lang' ;
73- import { ElForm , ElMessage , ElMessageBox } from ' element-plus' ;
73+ import { ElForm , ElMessageBox } from ' element-plus' ;
7474import { loadBaseDir } from ' @/api/modules/setting' ;
75- import { MsgError } from ' @/utils/message' ;
75+ import { MsgError , MsgSuccess } from ' @/utils/message' ;
7676import CodemirrorPro from ' @/components/codemirror-pro/index.vue' ;
7777import TaskLog from ' @/components/task-log/index.vue' ;
7878import { listComposeTemplate , testCompose , upCompose } from ' @/api/modules/container' ;
@@ -201,7 +201,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
201201 form .taskID = newUUID ();
202202 await upCompose (form );
203203 openTaskLog (form .taskID );
204- ElMessage . success (i18n .global .t (' commons.msg.operationSuccess' ));
204+ MsgSuccess (i18n .global .t (' commons.msg.operationSuccess' ));
205205 }
206206 })
207207 .catch (() => {
Original file line number Diff line number Diff line change @@ -46,10 +46,11 @@ import FileList from '@/components/file-list/index.vue';
4646import { reactive , ref } from ' vue' ;
4747import { Rules } from ' @/global/form-rules' ;
4848import i18n from ' @/lang' ;
49- import { ElForm , ElMessage } from ' element-plus' ;
49+ import { ElForm } from ' element-plus' ;
5050import { imageBuild } from ' @/api/modules/container' ;
5151import TaskLog from ' @/components/task-log/index.vue' ;
5252import { newUUID } from ' @/utils/util' ;
53+ import { MsgSuccess } from ' @/utils/message' ;
5354
5455const drawerVisible = ref (false );
5556const taskLogRef = ref ();
@@ -95,7 +96,7 @@ const onSubmit = async (formEl: FormInstance | undefined) => {
9596 form .taskID = newUUID ();
9697 await imageBuild (form );
9798 openTaskLog (form .taskID );
98- ElMessage . success (i18n .global .t (' commons.msg.operationSuccess' ));
99+ MsgSuccess (i18n .global .t (' commons.msg.operationSuccess' ));
99100 });
100101};
101102const openTaskLog = (taskID : string ) => {
You can’t perform that action at this time.
0 commit comments