sz-mx-cabin-yjb
Advanced tools
Comparing version 0.0.35 to 0.0.36
@@ -104,3 +104,3 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } | ||
if (isMobile() && attrs[key][formkey] && attrs[key][formkey].type === 'singleSelect') { | ||
if (data[key][formkey] === 0) { | ||
if (!data[key][formkey] || data[key][formkey] === 0) { | ||
formdata[formkey] = ""; | ||
@@ -169,3 +169,3 @@ } else { | ||
if (isMobile() && values[key] && attrs[name][key].type === 'singleSelect') { | ||
if (values[key].length === 0) { | ||
if (!values[key] || values[key].length === 0) { | ||
values[key] = ""; | ||
@@ -231,3 +231,3 @@ } else { | ||
if (isMobile() && attrs[_key][formkey] && attrs[_key][formkey].type === 'singleSelect') { | ||
if (newData[_key][formkey].length === 0) { | ||
if (!newData[_key][formkey] || newData[_key][formkey].length === 0) { | ||
formdata[formkey] = ""; | ||
@@ -234,0 +234,0 @@ } else { |
@@ -125,3 +125,3 @@ "use strict"; | ||
if ((0, _NumberUtil.isMobile)() && attrs[key][formkey] && attrs[key][formkey].type === 'singleSelect') { | ||
if (data[key][formkey] === 0) { | ||
if (!data[key][formkey] || data[key][formkey] === 0) { | ||
formdata[formkey] = ""; | ||
@@ -190,3 +190,3 @@ } else { | ||
if ((0, _NumberUtil.isMobile)() && values[key] && attrs[name][key].type === 'singleSelect') { | ||
if (values[key].length === 0) { | ||
if (!values[key] || values[key].length === 0) { | ||
values[key] = ""; | ||
@@ -252,3 +252,3 @@ } else { | ||
if ((0, _NumberUtil.isMobile)() && attrs[_key][formkey] && attrs[_key][formkey].type === 'singleSelect') { | ||
if (newData[_key][formkey].length === 0) { | ||
if (!newData[_key][formkey] || newData[_key][formkey].length === 0) { | ||
formdata[formkey] = ""; | ||
@@ -255,0 +255,0 @@ } else { |
{ | ||
"name": "sz-mx-cabin-yjb", | ||
"version": "0.0.35", | ||
"version": "0.0.36", | ||
"description": "reactCabin", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
1218031