Commit 085fed5d authored by 何远江's avatar 何远江

bug 修改bug

parent 86067029
......@@ -152,11 +152,7 @@ const numFlagChange = ([val], row: any) => {
}
const validateNumTitle = () => {
if (
!unref(excelAreaTitle).every(
(v) => (!v.numTitle && v.numFlag == 'N') || (v.numTitle && v.numFlag == 'Y')
)
) {
if (unref(excelAreaTitle).some((v) => v.numFlag == 'Y' && !v.numTitle)) {
ElMessage.error('拆分的单元格需要设置特性!')
return false
}
......
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