Skip to content
This repository has been archived by the owner on Aug 27, 2024. It is now read-only.

Commit

Permalink
修复占位符高度问题
Browse files Browse the repository at this point in the history
  • Loading branch information
zhou-hao committed May 21, 2019
1 parent 4a91a6d commit 4d5d5c0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion hsweb-ui/admin/form/designer-drag/components-default.js
Original file line number Diff line number Diff line change
Expand Up @@ -229,11 +229,13 @@
createClass(Hidden);

Hidden.prototype.render = function () {
var me = this;
var container = this.getContainer(function () {
var m = $("<div class='mini-col-12 form-component'>");
var c = $("<fieldset style='border:0px;' class=\"brick\">");
var c = $("<fieldset style='border:0;' class=\"brick\">");
var label = $("<legend class='form-hidden' title='渲染时会被移除' style='font-size: 20px'>")
.text("占位");
c.css("height", me.getProperty("height").value || 37);
c.append(label);
m.append(c);
return m;
Expand Down

0 comments on commit 4d5d5c0

Please sign in to comment.