提交 d3685e36 编写于 作者: linjinyang's avatar linjinyang

状态向导面板 国际化更新

上级 d7b468ba
...@@ -63,8 +63,8 @@ ...@@ -63,8 +63,8 @@
</div> </div>
<div class="app-wizard-footer"> <div class="app-wizard-footer">
<i-button v-if="isVisiable('${form.name}','PREV')" @click="onClickPrev('${form.name}')" ><Icon type="ios-arrow-back"></Icon></i-button> <i-button v-if="isVisiable('${form.name}','PREV')" @click="onClickPrev('${form.name}')" ><Icon type="ios-arrow-back"></Icon></i-button>
<i-button v-if="isVisiable('${form.name}','NEXT')" @click="onClickNext('${form.name}')" type="primary" long>下一步</i-button> <i-button v-if="isVisiable('${form.name}','NEXT')" @click="onClickNext('${form.name}')" type="primary" long>{{$t('app.wizardPanel.next')}}</i-button>
<i-button v-if="isVisiable('${form.name}','FINISH')" @click="onClickFinish('${form.name}')" type="primary" long>完成</i-button> <i-button v-if="isVisiable('${form.name}','FINISH')" @click="onClickFinish('${form.name}')" type="primary" long>{{$t('app.wizardPanel.complete')}}</i-button>
</div> </div>
</div> </div>
</el-popover> </el-popover>
...@@ -358,7 +358,7 @@ ...@@ -358,7 +358,7 @@
if (response && response.status === 401) { if (response && response.status === 401) {
return; return;
} }
this.$Notice.error({ title: '错误', desc: response.info }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.info });
}); });
</#if> </#if>
} }
...@@ -395,7 +395,7 @@ ...@@ -395,7 +395,7 @@
if (response && response.status === 401) { if (response && response.status === 401) {
return; return;
} }
this.$Notice.error({ title: '错误', desc: response.info }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: response.info });
}); });
</#if> </#if>
} }
...@@ -543,7 +543,7 @@ ...@@ -543,7 +543,7 @@
this.curState = 'NEXT'; this.curState = 'NEXT';
this.wizardState.next({ tag: name, action: 'save', data: this.formParam }); this.wizardState.next({ tag: name, action: 'save', data: this.formParam });
} else { } else {
this.$Notice.error({ title: '错误', desc: '值规则校验异常' }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: (this.$t('app.commonWords.rulesException') as string) });
} }
} }
} }
...@@ -562,7 +562,7 @@ ...@@ -562,7 +562,7 @@
this.curState = 'FINISH'; this.curState = 'FINISH';
this.wizardState.next({ tag: name, action: 'save', data: this.formParam }); this.wizardState.next({ tag: name, action: 'save', data: this.formParam });
} else { } else {
this.$Notice.error({ title: '错误', desc: '值规则校验异常' }); this.$Notice.error({ title: (this.$t('app.commonWords.wrong') as string), desc: (this.$t('app.commonWords.rulesException') as string) });
} }
} }
} }
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册