diff --git a/src/components/organizationNameModal/index.tsx b/src/components/organizationNameModal/index.tsx index fe0319d..36f7149 100644 --- a/src/components/organizationNameModal/index.tsx +++ b/src/components/organizationNameModal/index.tsx @@ -13,6 +13,7 @@ interface PropsType { onShowModalChange?: (val: boolean) => void onCancel?: () => void onConfirm?: (val: string) => void + zIndex?: number } const OrganizationNameModal = (props: PropsType) => { const { @@ -21,6 +22,7 @@ const OrganizationNameModal = (props: PropsType) => { onShowModalChange, onCancel, onConfirm, + zIndex = 9999, } = props const handleClose = () => { @@ -78,7 +80,7 @@ const OrganizationNameModal = (props: PropsType) => { setInputStyles(() => []) } - return + return 请设置您的组织昵称 diff --git a/src/pages/details/components/orderCount/index.tsx b/src/pages/details/components/orderCount/index.tsx index 7c3a2b0..74f6b84 100644 --- a/src/pages/details/components/orderCount/index.tsx +++ b/src/pages/details/components/orderCount/index.tsx @@ -228,11 +228,12 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first }) return false } + setShowModal(true) + return // 检测是否修改过组织昵称 - if (userInfo.adminUserInfo.first_change_name) { - setShowModal(true) - return - } + // if (userInfo.adminUserInfo.first_change_name) { + // return + // } Taro.navigateTo({ url: `/pages/order/speedComfirm?sale_mode=${Number(selectIndex)}&buyList=${JSON.stringify(selectCount.color_list)}`, }) @@ -499,7 +500,7 @@ const OrderCount = ({ show = false, onClose, title = '', productId = 0, is_first - + )