fix(Icon): Cannot access Icon before initialization #2680 (#2683)

* fix(Icon): Cannot access Icon before initialization

* fix(comps): import eslint

* fix(Icon): Cannot access Icon before initialization

* fix(comps): import eslint
This commit is contained in:
xingyu
2023-04-06 22:02:02 +08:00
committed by GitHub
parent 401fcaf325
commit 7469312ffc
46 changed files with 54 additions and 38 deletions

View File

@@ -30,7 +30,7 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { List, Card, Row, Col } from 'ant-design-vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { applicationList } from './data';
export default defineComponent({

View File

@@ -42,7 +42,7 @@
<script lang="ts">
import { defineComponent } from 'vue';
import { List, Tag } from 'ant-design-vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { actions, articleList } from './data';
export default defineComponent({

View File

@@ -56,7 +56,7 @@
import { Tag, Tabs, Row, Col } from 'ant-design-vue';
import { defineComponent, computed } from 'vue';
import { CollapseContainer } from '/@/components/Container/index';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import Article from './Article.vue';
import Application from './Application.vue';
import Project from './Project.vue';

View File

@@ -26,7 +26,7 @@
import { List } from 'ant-design-vue';
import { defineComponent } from 'vue';
import { CollapseContainer } from '/@/components/Container/index';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { accountBindList } from './data';

View File

@@ -53,7 +53,7 @@
<script lang="ts">
import { Progress, Row, Col } from 'ant-design-vue';
import { defineComponent } from 'vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { cardList } from './data';
import { PageWrapper } from '/@/components/Page';
import { List } from 'ant-design-vue';

View File

@@ -34,7 +34,7 @@
</template>
<script lang="ts">
import { defineComponent } from 'vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { cardList } from './data';
import { PageWrapper } from '/@/components/Page';
import { Card, Row, Col, List } from 'ant-design-vue';

View File

@@ -53,13 +53,12 @@
</PageWrapper>
</template>
<script lang="ts">
import { Tag } from 'ant-design-vue';
import { Tag, List } from 'ant-design-vue';
import { defineComponent } from 'vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
import { BasicForm } from '/@/components/Form/index';
import { actions, searchList, schemas } from './data';
import { PageWrapper } from '/@/components/Page';
import { List } from 'ant-design-vue';
export default defineComponent({
components: {

View File

@@ -17,7 +17,7 @@
import { IVFormComponent } from '../../../typings/v-form-component';
import { remove } from '../../../utils';
import { useFormDesignState } from '../../../hooks/useFormDesignState';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
export default defineComponent({
name: 'FormNodeOperate',

View File

@@ -38,7 +38,8 @@
import { remove } from '../../../utils';
import message from '../../../utils/message';
import { Input } from 'ant-design-vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
export default defineComponent({
name: 'FormOptions',
components: { Input, Icon },

View File

@@ -38,7 +38,7 @@
import { useFormDesignState } from '../../../hooks/useFormDesignState';
import { isArray } from 'lodash-es';
import { Form, FormItem, AutoComplete, Input } from 'ant-design-vue';
import Icon from '/@/components/Icon';
import { Icon } from '/@/components/Icon';
export default defineComponent({
name: 'RuleProps',

View File

@@ -31,7 +31,7 @@
import { UseRefHistoryReturn } from '@vueuse/core';
import { IFormConfig } from '../../../typings/v-form-component';
import { Tooltip, Divider } from 'ant-design-vue';
import Icon from '/@/components/Icon/index';
import { Icon } from '/@/components/Icon';
interface IToolbarsConfig {
type: string;

View File

@@ -47,11 +47,10 @@
import { handleAsyncOptions } from '../../utils';
import { omit } from 'lodash-es';
import { Tooltip, FormItem, Divider, Col } from 'ant-design-vue';
// import FormItem from '/@/components/Form/src/components/FormItem.vue';
import { Icon } from '/@/components/Icon';
import { useFormModelState } from '../../hooks/useFormDesignState';
export default defineComponent({
name: 'VFormItem',
components: {