|
|
@@ -148,7 +148,11 @@
|
|
|
$("#hintBox_form").modal('show');
|
|
|
|
|
|
},
|
|
|
- valueBox: function (title, value, doOK) {
|
|
|
+ valueBox: function (title, value, doOK,row) {
|
|
|
+ if(row && row>0){//默认为input,如果有row说明是要多行输入,把input换成textarea.
|
|
|
+ $('#hintBox_value').remove();
|
|
|
+ $("#hintBox_error").before(` <textarea id="hintBox_value" class="form-control" rows="${row}"></textarea>`);
|
|
|
+ }
|
|
|
this.init();
|
|
|
$('#hintBox_title').text(title);
|
|
|
this.value = value;
|