mirror of
https://github.com/MrXujiang/h5-Dooring.git
synced 2025-12-15 20:52:49 +00:00
:fix: 修改icon问题,将类型文件名改为具体的组件名,避免编译读取错误
This commit is contained in:
parent
e54228401c
commit
ad8df2748a
@ -8,6 +8,7 @@ export default defineConfig({
|
||||
dva: {
|
||||
immer: true,
|
||||
},
|
||||
devtool: 'source-map',
|
||||
antd: {},
|
||||
title: '趣谈前端-h5-visible-tool',
|
||||
exportStatic: {},
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
import { useState, useEffect, memo } from 'react';
|
||||
import classnames from 'classnames';
|
||||
import Icon from '../Icon';
|
||||
import Icon from '../Icon/icon';
|
||||
import styles from './index.less';
|
||||
import { IconTypes } from '../DynamicEngine/schema';
|
||||
import React from 'react';
|
||||
|
||||
@ -18,6 +18,7 @@ const normFile = (e: any) => {
|
||||
};
|
||||
|
||||
const { Option } = Select;
|
||||
const { TextArea } = Input;
|
||||
|
||||
const formItemLayout = {
|
||||
labelCol: { span: 6 },
|
||||
@ -71,6 +72,11 @@ const FormEditor = (props: FormEditorProps) => {
|
||||
<Input />
|
||||
</Form.Item>
|
||||
)}
|
||||
{item.type === 'TextArea' && (
|
||||
<Form.Item label={item.name} name={item.key}>
|
||||
<TextArea rows={4} />
|
||||
</Form.Item>
|
||||
)}
|
||||
{item.type === 'DataList' && (
|
||||
<Form.Item label={item.name} name={item.key}>
|
||||
<DataList />
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user