1) 增加优惠券管理列表搜索
This commit is contained in:
parent
ae7b20d473
commit
a5c794eae7
|
@ -244,7 +244,7 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
|
|||
|
||||
// 编辑
|
||||
useEffect(() => {
|
||||
if (editData !== "") {
|
||||
if (editData !== "" && editData) {
|
||||
// 基本信息
|
||||
setForm_info_data({
|
||||
title: editData.title,
|
||||
|
|
|
@ -192,6 +192,7 @@ const UseCouponList = () => {
|
|||
|
||||
const selectionFun = () => {};
|
||||
const searchCallback = () => {
|
||||
setState({ isQuery: !state.isQuery });
|
||||
// getTable();
|
||||
};
|
||||
const onPageChange = (data) => {
|
||||
|
|
Loading…
Reference in New Issue