|
|
@@ -372,7 +372,7 @@ import { InterfaceTestAPI, PipelineAPI } from '@/api';
|
|
|
|
|
|
import { formatter } from '@/utils/time';
|
|
|
import { copy } from '@/utils/clipboard';
|
|
|
-import { ElMessage } from 'element-plus';
|
|
|
+import { ElMessage, ElMessageBox } from 'element-plus';
|
|
|
|
|
|
export default {
|
|
|
data() {
|
|
|
@@ -570,6 +570,21 @@ export default {
|
|
|
this.loading = true;
|
|
|
this.pipelines = await PipelineAPI.getPipelinesByProjectId(this.$store.state.workspace.currentProjectId);
|
|
|
this.loading = false;
|
|
|
+ ElMessageBox.alert(
|
|
|
+ '编辑流水线配置成功,请前往配置文件界面完成项目配置修改',
|
|
|
+ '提示',
|
|
|
+ {
|
|
|
+ confirmButtonText: '确定',
|
|
|
+ type: 'success',
|
|
|
+ showClose: true,
|
|
|
+ showCancelButton: false,
|
|
|
+ callback: (action) => {
|
|
|
+ if (action === 'confirm') {
|
|
|
+ this.$router.push(`/project/${this.$store.state.workspace.currentProjectId}/configPatch`);
|
|
|
+ }
|
|
|
+ },
|
|
|
+ },
|
|
|
+ );
|
|
|
},
|
|
|
async handlePipelineCreateConfirm() {
|
|
|
const regExp = /^[a-z]([a-z]|-){2,29}/;
|