mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
parent
10810e2b45
commit
74ea6cbafc
@ -2,7 +2,7 @@
|
||||
var utils = require('../wxs/utils.wxs');
|
||||
|
||||
function inputStyle(autosize) {
|
||||
if (autosize.constructor === 'Object') {
|
||||
if (autosize && autosize.constructor === 'Object') {
|
||||
var style = '';
|
||||
if (autosize.minHeight) {
|
||||
style += 'min-height:' + utils.addUnit(autosize.minHeight) + ';';
|
||||
|
Loading…
x
Reference in New Issue
Block a user