|
|
@@ -29,7 +29,10 @@
|
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
import { AddOptOrUpdateApi, ListAllGpsApi } from '/@/api/mapOpt/list';
|
|
|
import { uniqBy } from 'lodash-es';
|
|
|
+ import { useLocaleStore } from '/@/store/modules/locale';
|
|
|
|
|
|
+ const localeStore = useLocaleStore();
|
|
|
+ const isJA = computed(() => localeStore.getLocale === 'ja');
|
|
|
const { t } = useI18n();
|
|
|
|
|
|
export default defineComponent({
|
|
|
@@ -179,7 +182,7 @@
|
|
|
|
|
|
const [registerForm, { setFieldsValue, resetFields, validate, getFieldsValue }] = useForm({
|
|
|
schemas: schemas,
|
|
|
- labelWidth: 100,
|
|
|
+ labelWidth: isJA.value ? 130 : 100,
|
|
|
showActionButtonGroup: false,
|
|
|
|
|
|
actionColOptions: {
|