refactor: 修改文字描述
This commit is contained in:
parent
9aaf3934e4
commit
1a78b3dc7c
|
@ -306,7 +306,7 @@ export default {
|
|||
this.versionOptions = response.data.filter(v => v.status === 'open');
|
||||
this.versionOptions.forEach(v => {
|
||||
if (v.latest) {
|
||||
v.name = v.name + ' ' + this.$t('api_test.api_import.current_version');
|
||||
v.name = v.name + ' ' + this.$t('api_test.api_import.latest_version');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -134,27 +134,28 @@
|
|||
</template>
|
||||
|
||||
<script>
|
||||
import MsDialogFooter from "../../../../common/components/MsDialogFooter";
|
||||
import {listenGoBack, removeGoBackListener, hasLicense, getCurrentProjectID} from "@/common/js/utils";
|
||||
import MsSelectTree from "../../../../common/select-tree/SelectTree";
|
||||
import MsApiKeyValue from "../ApiKeyValue";
|
||||
import MsApiVariable from "../ApiVariable";
|
||||
import MsApiAuthConfig from "../auth/ApiAuthConfig";
|
||||
import {REQUEST_HEADERS} from "@/common/js/constants";
|
||||
import {ELEMENT_TYPE, TYPE_TO_C} from "@/business/components/api/automation/scenario/Setting";
|
||||
import {KeyValue} from "../../model/ApiTestModel";
|
||||
import MsDialogFooter from "../../../../common/components/MsDialogFooter";
|
||||
import {getCurrentProjectID, hasLicense, listenGoBack, removeGoBackListener} from "@/common/js/utils";
|
||||
import MsSelectTree from "../../../../common/select-tree/SelectTree";
|
||||
import MsApiKeyValue from "../ApiKeyValue";
|
||||
import MsApiVariable from "../ApiVariable";
|
||||
import MsApiAuthConfig from "../auth/ApiAuthConfig";
|
||||
import {REQUEST_HEADERS} from "@/common/js/constants";
|
||||
import {TYPE_TO_C} from "@/business/components/api/automation/scenario/Setting";
|
||||
import {KeyValue} from "../../model/ApiTestModel";
|
||||
|
||||
export default {
|
||||
name: "ApiImport",
|
||||
components: {
|
||||
MsDialogFooter,
|
||||
MsSelectTree,
|
||||
MsApiKeyValue,
|
||||
MsApiVariable,
|
||||
MsApiAuthConfig},
|
||||
props: {
|
||||
saved: {
|
||||
type: Boolean,
|
||||
export default {
|
||||
name: "ApiImport",
|
||||
components: {
|
||||
MsDialogFooter,
|
||||
MsSelectTree,
|
||||
MsApiKeyValue,
|
||||
MsApiVariable,
|
||||
MsApiAuthConfig
|
||||
},
|
||||
props: {
|
||||
saved: {
|
||||
type: Boolean,
|
||||
default: true,
|
||||
},
|
||||
moduleOptions: Array,
|
||||
|
@ -451,7 +452,7 @@
|
|||
this.versionOptions = response.data.filter(v => v.status === 'open');
|
||||
this.versionOptions.forEach(v => {
|
||||
if (v.latest) {
|
||||
v.name = v.name + ' ' + this.$t('api_test.api_import.current_version');
|
||||
v.name = v.name + ' ' + this.$t('api_test.api_import.latest_version');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 8248ff7684f2d5eea36b66d5027f2091e9047de8
|
||||
Subproject commit dc2f6b0d6d7f1586319a3c12aa670523952990d6
|
|
@ -1684,7 +1684,7 @@ export default {
|
|||
import_version: 'Import version',
|
||||
data_update_version: 'Api update version',
|
||||
data_new_version: 'Api creation version',
|
||||
current_version: 'Current version',
|
||||
latest_version: 'Latest version',
|
||||
},
|
||||
home_page: {
|
||||
unit_of_measurement: "",
|
||||
|
|
|
@ -1689,7 +1689,7 @@ export default {
|
|||
import_version: '导入版本',
|
||||
data_update_version: '数据更新版本',
|
||||
data_new_version: '数据创建版本',
|
||||
current_version: '当前版本',
|
||||
latest_version: '最新版本',
|
||||
},
|
||||
home_page: {
|
||||
unit_of_measurement: "个",
|
||||
|
|
|
@ -1689,7 +1689,7 @@ export default {
|
|||
import_version: '導入版本',
|
||||
data_update_version: '數據更新版本',
|
||||
data_new_version: '數據創建版本',
|
||||
current_version: '當前版本',
|
||||
latest_version: '最新版本',
|
||||
},
|
||||
home_page: {
|
||||
unit_of_measurement: "個",
|
||||
|
|
Loading…
Reference in New Issue