feat:添加国际化

This commit is contained in:
zhangyu
2020-09-07 18:11:36 +08:00
parent ab2341d76b
commit f5516e5022
3 changed files with 3 additions and 1 deletions

View File

@@ -848,6 +848,7 @@ const cn = {
addLine:'添加连线',
lineName:'连线名称',
width:'宽度',
dashes:'虚线',
option:'设置',
arrows:'箭头方向',
color:'颜色',

View File

@@ -856,6 +856,7 @@ const en = {
addLine:'Add Line',
lineName:'Line Name',
width:'thickness',
dashes:'Dotted line',
option:'Option',
arrows:'Arrows',
color:'Color',

View File

@@ -37,7 +37,7 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item :label="$t('project.topology.width')" prop="width" class="line-width">
<el-form-item :label="$t('project.topology.dashes')" prop="width" class="line-width">
<el-select v-model="form.dashes" placeholder="" :popper-append-to-body="false" size="small">
<div slot="prefix">
{{form.dashes}}