mirror of
https://github.com/getrebuild/rebuild.git
synced 2024-11-10 17:04:33 +08:00
fix: Blank head
This commit is contained in:
parent
a8b1bc21fc
commit
b14f564861
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ const _fieldsMapping = (columns, fields) => {
|
|||
$clone.find('option').each(function (i, o) {
|
||||
const name = o.value
|
||||
const label = (o.text || '').replace(canNullText, '')
|
||||
if ((name && name === item) || (label && label === item.trim())) {
|
||||
if ((name && name === item) || (label && label === (item || '').trim())) {
|
||||
matchField = name
|
||||
return false
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue