mirror of
https://gitee.com/dotnetchina/OpenAuth.Net.git
synced 2025-11-10 11:24:45 +08:00
完成用户管理,layui弹出有问题
This commit is contained in:
@@ -68,8 +68,13 @@ layui.define(['jquery', 'layer'], function (exports) {
|
||||
|
||||
//构造器
|
||||
var Class = function (options) {
|
||||
var that = this;
|
||||
that.config = $.extend({}, that.config, options);
|
||||
var that = this;
|
||||
that.config = $.extend({}, that.config, options);
|
||||
|
||||
//上级机构选择框
|
||||
$(that.config.nameDOM).on("click", function () {
|
||||
that.render();
|
||||
});
|
||||
};
|
||||
//默认配置
|
||||
Class.prototype.config = {
|
||||
@@ -141,7 +146,7 @@ layui.define(['jquery', 'layer'], function (exports) {
|
||||
}
|
||||
|
||||
exports('droptree', function (url, name, id) {
|
||||
var options = {
|
||||
var options = {
|
||||
nameDOM: name, //显示的文本框ID,如:"#catetoryName"
|
||||
idDOM: id, //隐藏的文本框,如:"#categoryId"
|
||||
url: url
|
||||
|
||||
Reference in New Issue
Block a user