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

fix:

parent 187de903
......@@ -12,6 +12,7 @@ import ModalTable from '@/components/ModalTable'
import { store } from '@/store'
import { observer } from 'mobx-react'
import EyePreview from '@/components/EyePreview';
import { clearModalParams } from '@/utils';
const { Search } = Input
const { Option } = Select
......@@ -199,6 +200,7 @@ const SelectChannel:React.FC<IProps> = (props) => {
setVisibleChannelMember(false)
console.log(memberRowCtl.selectRow, memberRowCtl.selectedRowKeys, '选中的项')
setSelectMemberRow(memberRowCtl.selectRow)
clearModalParams()
}
const clickDeleteMember = (record: any) => {
......@@ -210,6 +212,7 @@ const SelectChannel:React.FC<IProps> = (props) => {
const handleCancelAddMember = () => {
setVisibleChannelMember(false)
clearModalParams()
}
const roleChange = (value: number, option: IOption) => {
......
......@@ -19,6 +19,7 @@ import Submit from '@/components/NiceForm/components/Submit'
import { inject, observer } from 'mobx-react'
import { store } from '@/store'
import { clearModalParams } from '@/utils';
const layout = {
labelCol: {
......@@ -173,11 +174,13 @@ const SelectProduct:React.FC<IProps> = (props) => {
const handleOkAddTabs = () => {
setSelectProduct(productRowCtl.selectRow)
setVisibleAddTabs(false)
clearModalParams()
}
const handleCancelAddTabs = () => {
setVisibleAddTabs(false)
productRowCtl.setSelectedRowKeys([])
clearModalParams()
}
const clickDelete = (record: any) => {
......
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