|
@@ -1,9 +1,13 @@
|
|
|
import { Time } from '/@/components/Time';
|
|
|
import { FormProps, BasicColumn } from '/@/components/Table';
|
|
|
-import { h } from 'vue';
|
|
|
+import { h, computed } from 'vue';
|
|
|
import { FormSchema } from '/@/components/Form/index';
|
|
|
import { useI18n } from '/@/hooks/web/useI18n';
|
|
|
+import { useLocaleStore } from '/@/store/modules/locale';
|
|
|
const { t } = useI18n();
|
|
|
+const localeStore = useLocaleStore();
|
|
|
+const isEn = computed(() => localeStore.getLocale === 'en');
|
|
|
+
|
|
|
import { dincrementList } from '/@/api/equity'
|
|
|
export const columnsDown: BasicColumn[] = [
|
|
|
{
|
|
@@ -135,7 +139,7 @@ export const searchForm: Partial<FormProps> = {
|
|
|
],
|
|
|
};
|
|
|
export const DownSchemas: Partial<FormProps> = {
|
|
|
- labelWidth: 100,
|
|
|
+ labelWidth: isEn.value?125:100,
|
|
|
schemas: [{
|
|
|
field: 'userName',
|
|
|
label: t('routes.equity.userName'),
|