作者 xwp
1 个管道 的构建 通过 耗费 1 秒

地图调试

... ... @@ -15,7 +15,7 @@
<div class="form-group">
<label class="control-label col-xs-12 col-sm-2">{:__('Map_info')}:</label>
<div class="col-xs-12 col-sm-8">
<button type="button" class="btn btn-success" data-toggle="addresspicker">选择地图</button>
<button type="button" class="btn btn-success" data-toggle="addresspicker" data-input-id="c-address" data-lat-id="c-lat" data-lng-id="c-lng">选择地图</button>
<input id="c-map_info" data-rule="required" class="form-control" name="row[map_info]" type="text" style="display: none">
</div>
</div>
... ...
... ... @@ -3,7 +3,6 @@ define([], function () {
//绑定data-toggle=addresspicker属性点击事件
$(document).on('click', "[data-toggle='addresspicker']", function () {
console.log(2);
var that = this;
var callback = $(that).data('callback');
var input_id = $(that).data("input-id") ? $(that).data("input-id") : "";
... ...