提交 651a4655 编写于 作者: tony001's avatar tony001

向导面板成功提示、忽略版本检查

上级 050d0079
...@@ -260,6 +260,7 @@ ...@@ -260,6 +260,7 @@
post.then((response: any) => { post.then((response: any) => {
if (response && response.status === 200) { if (response && response.status === 200) {
const data = response.data; const data = response.data;
this.$Notice.success({ title: this.$t('app.commonWords.success') as string, desc: this.$t('app.commonWords.startsuccess') as string });
this.$emit("finish", data); this.$emit("finish", data);
} }
}).catch((response: any) => { }).catch((response: any) => {
......
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
return new Promise((resolve: any, reject: any) => { return new Promise((resolve: any, reject: any) => {
let result: Promise<any>; let result: Promise<any>;
const _appEntityService: any = this.appEntityService; const _appEntityService: any = this.appEntityService;
// 忽略版本检查
Object.assign(Data,{ignoreversioncheck:1});
if (_appEntityService[action] && _appEntityService[action] instanceof Function) { if (_appEntityService[action] && _appEntityService[action] instanceof Function) {
result = _appEntityService[action](Context,Data, isloading); result = _appEntityService[action](Context,Data, isloading);
} else { } else {
......
...@@ -31,6 +31,7 @@ export default { ...@@ -31,6 +31,7 @@ export default {
deleteError: "Failed to delete", deleteError: "Failed to delete",
delDataFail: "Failed to delete data", delDataFail: "Failed to delete data",
noData: "No data", noData: "No data",
startsuccess:"Start successful"
}, },
local:{ local:{
new: "New", new: "New",
......
...@@ -27,10 +27,11 @@ export default { ...@@ -27,10 +27,11 @@ export default {
rulesException: "值规则校验异常", rulesException: "值规则校验异常",
saveSuccess: "保存成功", saveSuccess: "保存成功",
saveFailed: "保存失败", saveFailed: "保存失败",
deleteSuccess: "删除成功", deleteSuccess: "删除成功",
deleteError: "删除失败", deleteError: "删除失败",
delDataFail: "删除数据失败", delDataFail: "删除数据失败",
noData: "暂无数据", noData: "暂无数据",
startsuccess:"启动成功"
}, },
local:{ local:{
new: "新建", new: "新建",
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册