fix: 删除无用控制台输出

This commit is contained in:
zhangds 2022-11-03 15:22:43 +08:00
parent cfdff429da
commit bfb43d57ae
9 changed files with 0 additions and 1533 deletions

View File

@ -78,7 +78,6 @@ const UseCouponList = () => {
const getTable = () => {
let param = getParam();
console.log("调用接口 ...", param);
};
useEffect(() => {

View File

@ -658,8 +658,6 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
return item.goods_id;
}
});
console.log("编辑 大提交 =>", param);
editCoupon(editData.id, param).then((res) => {
handelResponse(
res,
@ -730,8 +728,6 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
});
return;
}
console.log("大提交 =>", param);
addCoupon(param).then((res) => {
handelResponse(
res,
@ -880,7 +876,6 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
// ()
const getCheckedProduct = () => {
console.log("已选 =>", state.tableData);
let arr = state.tableData.map((item) => Number(item.product_id));
return arr;
};
@ -935,7 +930,6 @@ const UseCouponAddEdit = forwardRef((props, ref) => {
//
const productEditShow = (rowData, index) => {
console.log("编辑数据 1 => ", rowData);
try {
// id
const direct_reseller_ids = state.direct_reseller_id;

View File

@ -42,7 +42,6 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
Number(form_model.quantity)
);
form_model.effectDate = "-";
console.log("new_tableData[table_index] 1=>", new_tableData[table_index]);
if (product_title === "编辑商品") {
if (table_index !== -1) {
let ck = new_tableData[table_index].checked;
@ -60,7 +59,6 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
let new_tableData = tableData;
let form_model = knockGold_el.current.state.form_data;
let table_obj = knockGoldFun(form_model);
console.log("new_tableData[table_index] 2=>", new_tableData[table_index]);
if (product_title === "编辑立减金") {
if (table_index !== -1) {
let ck = new_tableData[table_index].checked;
@ -92,7 +90,6 @@ const UseGoodsScopePop = forwardRef((props, ref) => {
} else {
form_data = format_knockGold_model();
}
console.log("form_data =>", form_data);
submit(form_data);
onClose();
}

View File

@ -174,7 +174,6 @@ const UseProductPop = forwardRef((props, ref) => {
setState({
productDataAll: req.data,
});
console.log("所有商品数据 =>", req.data);
let optArr = req.data.map((item) => {
return {
key: item.id,

View File

@ -38,7 +38,6 @@ const UseUploadExcel = (props) => {
useEffect(() => {
try {
let el = uploadInputRef.current;
console.log(el);
if (el) {
el.click();
}
@ -51,7 +50,6 @@ const UseUploadExcel = (props) => {
setFilesTip(200);
setHash(res.data.hash);
setDisabledSureBtn(false);
console.log("res => 成功", res);
};
const bachUploadState_0 = (res) => {
@ -111,7 +109,6 @@ const UseUploadExcel = (props) => {
return;
}
} else {
console.log("res =>", res);
Notify.error(res.message);
setFilesTip(0);
}
@ -128,7 +125,6 @@ const UseUploadExcel = (props) => {
setFilesName(my_file.name);
setShowUpType(true);
excelParseFun(my_file); //
console.log("file =>", my_file);
};
/**

View File

@ -170,7 +170,6 @@ const UseCouponCommodity = () => {
});
}
});
console.log("resData =>", resData);
setState({ tableData: resData });
});
});

View File

@ -490,7 +490,6 @@ const UseKeyAddEdit = () => {
return o;
});
}
console.log("newData =>", newData);
if (Number(data.bind_object[0]) === 1) {
setState({ distdata: newData });
} else {
@ -563,7 +562,6 @@ const UseKeyAddEdit = () => {
//
const rowEditClick = (row, rowIndex) => {
console.log("编辑 -01");
if (state.keyType === 1) {
setState({
draw_title: "编辑兑换码",
@ -797,7 +795,6 @@ const UseKeyAddEdit = () => {
* @param {*} data
*/
const couponExchangeSubmit = (apiType, data) => {
console.log("apiType =>", apiType);
let keyBatch_id = sessionStorage.getItem("keybatch_id");
if (apiType === 0) {
let create_param = {
@ -875,7 +872,6 @@ const UseKeyAddEdit = () => {
//
const couponTools = () => {
console.log("state.couponData =>", state.couponData);
//
let editCouponData = state.couponData.filter(
(item) =>

File diff suppressed because it is too large Load Diff

View File

@ -308,7 +308,6 @@ export default class acclist extends React.Component {
handelResponse(
res,
(req, msg) => {
console.log("req =>", req);
if (req.data.length > 0) {
sessionStorage.setItem("keyType", req.data[0].bind_object[0]);
}