清除console.log语句

This commit is contained in:
Liu 宇阳
2024-11-05 15:20:57 +08:00
parent 4b5f77f164
commit 833efd98e4
3 changed files with 0 additions and 7 deletions

View File

@@ -68,8 +68,6 @@ const fireToast = () => {
const alertSettings=localStorage.getItem("alertSettings");
if (alertSettings){
for (const alertSetting of JSON.parse(alertSettings)) {
console.log(alertSetting);
const value=isNaN(parseFloat(alertSetting.value))?alertSetting.value:parseFloat(alertSetting.value);
const para=alertSetting.criterion<2?"delta_"+alertSetting.para:alertSetting.para;
if (alertSetting.id=="ALL"){

View File

@@ -83,8 +83,6 @@ const PublishForm = ({ data, closeModel }: { data: Article, closeModel: () => vo
};
const onSubmit: FormProps<FieldType>['onFinish'] = async (values) => {
console.log(values);
// 如果是文章标签,则先判断是否存在,如果不存在则添加
let tagIds: number[] = []
if (values.tagIds) {

View File

@@ -54,9 +54,6 @@ const RoutePage = () => {
const onSubmit = async () => {
setLoading(true);
form.validateFields().then(async (values: Route) => {
console.log(111,route.id);
console.log(222,values);
if (route.id) {
await editRouteDataAPI({ ...route, ...values });