chore: prefer named exports (#8315)

* chore: prefer named exports

* chore: fix import
This commit is contained in:
neverland
2021-03-09 15:39:26 +08:00
committed by GitHub
parent 5d5ff1da4a
commit 1381070a12
171 changed files with 272 additions and 263 deletions
+4 -4
View File
@@ -21,18 +21,18 @@
import { reactive, toRefs } from 'vue';
import { useTranslate } from '@demo/use-translate';
import { AreaColumnOption } from '../../area';
import AreaList from '../../area/demo/area';
import AreaListEn from '../../area/demo/area-en';
import { areaList } from '../../area/demo/area';
import { areaListEn } from '../../area/demo/area-en';
const i18n = {
'zh-CN': {
picker: '地区选择',
areaList: AreaList,
areaList,
placeholder: '点击选择省市区',
},
'en-US': {
picker: 'Area Picker',
areaList: AreaListEn,
areaList: areaListEn,
placeholder: 'Select area',
},
};
+1 -1
View File
@@ -42,7 +42,7 @@
import { reactive, toRefs } from 'vue';
import { useTranslate } from '@demo/use-translate';
import { FieldValidateError } from '../../field/types';
import Toast from '../../toast';
import { Toast } from '../../toast';
const i18n = {
'zh-CN': {