|
@@ -1,5 +1,6 @@
|
|
|
'use strict';
|
|
|
|
|
|
+var surl = '';
|
|
|
var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
|
|
|
|
|
|
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
@@ -294,6 +295,8 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
|
|
|
data[id] = fs;
|
|
|
|
|
|
+ surl = fs.config.searchUrl;
|
|
|
+
|
|
|
//先取消layui对select的渲染
|
|
|
hasLayuiRender[0] && hasLayuiRender.remove();
|
|
|
hasRender[0] && hasRender.remove();
|
|
@@ -1306,7 +1309,11 @@ function _defineProperty(obj, key, value) { if (key in obj) { Object.definePrope
|
|
|
this.retop(top);
|
|
|
top.addClass(FORM_SELECTED);
|
|
|
top.find('.' + INPUT).focus();
|
|
|
- this.triggerSearch(top, true);
|
|
|
+ var searchUrl = surl;
|
|
|
+ if (searchUrl.indexOf('{') != -1) {
|
|
|
+ this.triggerSearch(top, true);
|
|
|
+ }
|
|
|
+
|
|
|
if (!top.find('dl dd[lay-value]:not(.' + FORM_SELECT_TIPS + ')').length) {
|
|
|
top.find('dl .' + FORM_NONE).addClass(FORM_EMPTY);
|
|
|
}
|