Commit 0629c24b authored by 张耀's avatar 张耀

feat: 错误提示

parent db85c473
...@@ -308,7 +308,7 @@ const Submit = async () => { ...@@ -308,7 +308,7 @@ const Submit = async () => {
try { try {
state.form.warningScopeRows.forEach((e, i) => { state.form.warningScopeRows.forEach((e, i) => {
if (e.indicator_scope == "" || e.indicator_tag == "") { if (e.indicator_scope == "" || e.indicator_tag == "") {
throw new Error(`第${i}条数据的指标没有选择!`); throw `第${i + 1}条数据的指标没有选择!`;
} }
}); });
} catch (e) { } catch (e) {
......
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