Commit bf99c0d1 authored by 前端-钟卫鹏's avatar 前端-钟卫鹏

fix:

parent e04844ce
......@@ -41,7 +41,7 @@ export interface ShopInfo {
describe: string;
state: number;
url: string;
isDefault?: any;
isDefault: number;
}
export interface OrderMode {
......@@ -60,7 +60,7 @@ export interface SiteInfo {
name: string;
logo: string;
siteUrl: string;
symbol?: any;
symbol: string;
}
export interface Site {
......
......@@ -132,7 +132,7 @@ const Products: React.FC<{}> = () => {
return (
<>
{/* btnCode="DevTest" */}
<AuthButton menuCode={MENU_NODE}>
<AuthButton menuCode={MENU_NODE} btnCode="DevTest">
<Button type='link' onClick={() => history.push(`/commodity/productWillCheck/detail?id=${record.id}`)}>审核</Button>
</AuthButton>
......
......@@ -30,7 +30,6 @@ const AddRule:React.FC<{}> = (props) => {
setIsDisabled(true)
const params = omit(values, ['state'])
params.baseProcessId = params.baseProcessId[0]
console.log(params, 'parmas')
// 切割memberId
let res: any = {}
......@@ -39,11 +38,10 @@ const AddRule:React.FC<{}> = (props) => {
}else if(pageStatus === PageStatus.ADD){
res = await PublicApi.postOrderPlatformTradeProcessCreate(params)
}
if(res.code === 1000){
setIsDisabled(false)
history.goBack()
}
setIsDisabled(false)
}
return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment