🦀️ fix: 修复bug
This commit is contained in:
parent
65d024d1a4
commit
7b91693b9c
|
@ -1,9 +1,9 @@
|
|||
// Do this as the first thing so that any code reading it knows the right env.
|
||||
process.env.BABEL_ENV = "development"
|
||||
process.env.NODE_ENV = "development"
|
||||
process.env.BASE_URL = "http://pre.marketapi.1688sup.com"
|
||||
process.env.UNIFIED_API = "http://api.gray.user.1688sup.com/v1"
|
||||
process.env.UNIFIED_URL = "http://gray.user.1688sup.com/#/login"
|
||||
process.env.BASE_URL = "http://test.marketapi.1688sup.com"
|
||||
process.env.UNIFIED_API = "http://api.test.user.1688sup.com/v1"
|
||||
process.env.UNIFIED_URL = "http://test.user.1688sup.com/#/login"
|
||||
|
||||
// Makes the script crash on unhandled rejections instead of silently
|
||||
// ignoring them. In the future, promise rejections that are not handled will
|
||||
|
|
|
@ -186,7 +186,7 @@ export default class topNav extends React.Component {
|
|||
<div className="linkmenu">
|
||||
<div className="dflexaj navshow">
|
||||
<div className="linkmenu-row">
|
||||
{this.state.menulinklist.map((item, key) => {
|
||||
{this.state.menulinklist?.map((item, key) => {
|
||||
return item.level == 5 ? (
|
||||
<Link
|
||||
key={key}
|
||||
|
|
|
@ -420,7 +420,7 @@ export default class combiningAdd extends React.Component {
|
|||
type: 2,
|
||||
quantity: codeInfo.quantity,
|
||||
group_cover: codeInfo.group_cover[0].src,
|
||||
group_image: codeInfo.group_image[0] && codeInfo.group_image[0].src,
|
||||
group_image: codeInfo.group_image[0] ? codeInfo.group_image[0].src : "",
|
||||
instruction: codeInfo.instruction,
|
||||
receive_mode: codeInfo.receive_mode,
|
||||
channel: codeInfo.channel,
|
||||
|
@ -469,7 +469,7 @@ export default class combiningAdd extends React.Component {
|
|||
type: 2,
|
||||
quantity: codeInfo.quantity,
|
||||
group_cover: codeInfo.group_cover[0].src,
|
||||
group_image: codeInfo.group_image[0] && codeInfo.group_image[0].src,
|
||||
group_image: codeInfo.group_image[0] ? codeInfo.group_image[0].src : "",
|
||||
instruction: codeInfo.instruction,
|
||||
receive_mode: codeInfo.receive_mode,
|
||||
channel: codeInfo.channel,
|
||||
|
|
Loading…
Reference in New Issue