清单排查中无定位信息 禁止提交

pull/1/head
dearlin 2024-02-04 17:11:50 +08:00
parent 07f2a683b5
commit 0f59aa83d4
1 changed files with 1 additions and 2 deletions

View File

@ -109,7 +109,7 @@ const fnSubmit = debounce(
if (props.hiddenType === "unqualified") { if (props.hiddenType === "unqualified") {
if (!props.longitude && !props.latitude) { if (!props.longitude && !props.latitude) {
ElMessage.error("正在获取当前位置中,请等待"); ElMessage.error("正在获取当前位置中,请等待");
// return; return;
} }
params = { params = {
...params, ...params,
@ -140,7 +140,6 @@ const fnSubmit = debounce(
HAVESCHEME: 0, HAVESCHEME: 0,
}; };
if (props.type === "add") { if (props.type === "add") {
console.log(props.listType);
const resData = const resData =
props.listType === 1 props.listType === 1
? await setHiddenDangerListAdd(params) ? await setHiddenDangerListAdd(params)