forked from gzzfw/frontEnd/gzDyh

zhangyongtian
2024-08-21 43c316de7163b3ea25bd8d554b07c0b7098c9456
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/* eslint-disable */
var style = require('../wxs/style.wxs');
var addUnit = require('../wxs/add-unit.wxs');
 
function inputStyle(autosize) {
  if (autosize && autosize.constructor === 'Object') {
    return style({
      'min-height': addUnit(autosize.minHeight),
      'max-height': addUnit(autosize.maxHeight),
    });
  }
 
  return '';
}
 
module.exports = {
  inputStyle: inputStyle,
};