cfel-base-components 2.2.4 → 2.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/src/apiRequest/config.ts
CHANGED
|
@@ -3,8 +3,13 @@ import { Layout, Menu, MenuProps, Popover } from 'antd';
|
|
|
3
3
|
import { SwapOutlined, FormOutlined } from '@ant-design/icons';
|
|
4
4
|
import "./index.scss"
|
|
5
5
|
|
|
6
|
+
const currencyList = [
|
|
7
|
+
{ value: 'JPY', label: '日元', icon: '¥' },
|
|
8
|
+
{ value: 'USD', label: '美元', icon: "$" },
|
|
9
|
+
{ value: 'CNY', label: '人民币', icon: '¥' }
|
|
10
|
+
]
|
|
6
11
|
export interface LiosLayoutlProps {
|
|
7
|
-
appName?:
|
|
12
|
+
appName?: any;
|
|
8
13
|
productCode: string;
|
|
9
14
|
children: any;
|
|
10
15
|
menuList: any;
|
|
@@ -94,11 +99,6 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
94
99
|
|
|
95
100
|
const [collapsed, setCollapsed] = useState(false);
|
|
96
101
|
|
|
97
|
-
const [currencyList, setCurrencyList] = useState([
|
|
98
|
-
{ value: 'JPY', label: '日元', icon: '¥' },
|
|
99
|
-
{ value: 'USD', label: '美元', icon: "$" },
|
|
100
|
-
{ value: 'CNY', label: '人民币', icon: '¥' }
|
|
101
|
-
])
|
|
102
102
|
|
|
103
103
|
// useEffect(() => {
|
|
104
104
|
// if (!productList) return
|
|
@@ -165,7 +165,7 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
{
|
|
168
|
-
amountInfo &&
|
|
168
|
+
amountInfo &&
|
|
169
169
|
<div className='lios-li'>
|
|
170
170
|
<div className='lios-key'>抵用金余额</div>
|
|
171
171
|
<div className='lios-value'><span>{currencyText(currencyCode)}</span>
|
|
@@ -173,7 +173,7 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
173
173
|
</div>
|
|
174
174
|
</div>
|
|
175
175
|
}
|
|
176
|
-
|
|
176
|
+
|
|
177
177
|
</div>
|
|
178
178
|
}
|
|
179
179
|
{
|
|
@@ -239,6 +239,7 @@ export default function LiosLayout(props: LiosLayoutlProps) {
|
|
|
239
239
|
const MenuStyle = {
|
|
240
240
|
width: collapsed ? 80 : 240
|
|
241
241
|
}
|
|
242
|
+
|
|
242
243
|
return (
|
|
243
244
|
<Layout className="layout-warp">
|
|
244
245
|
{
|