king
2020-04-09 b9a0e8541f0959db5d848f7b893c8838851ce411
src/templates/zshare/modalform/index.jsx
@@ -506,9 +506,9 @@
            values.dataSource = ''
            let emptys = []
            if (values.type === 'multiselect' || values.type === 'select') {
              emptys = values.options.filter(op => !(op.Value && op.Text))
              emptys = values.options.filter(op => !((op.Value || op.Value === 0) && (op.Text || op.Text === 0)))
            } else {
              emptys = values.options.filter(op => !(op.Value && op.Text && op.ParentID))
              emptys = values.options.filter(op => !((op.Value || op.Value === 0) && (op.Text || op.Text === 0) && (op.ParentID || op.ParentID === 0)))
            }
            if (emptys.length > 0) {
              isvalid = false