xfrontend/web/srczip/logic/customname.js
2022-03-29 17:48:26 +08:00

23 lines
802 B
JavaScript

(function(){
X.pageLogic['customname'] = {
init : function(){
updataselect_list();
X.uploadfile("data_mana/add_select_map","#fileupload",function(res){
updataselect_list();
});
function updataselect_list(){
X.api("data_mana/select_list","get",{},function(res){
X.laytpldata('#customname-content-box-dot',res,'.layui-tab-title');
X.laytpldata('#layui-tab-content-dot',res,'.layui-tab-content');
console.log($(".customname-content-box").height())
$(".layui-tab-content").css('height',$(".customname-content-box").height());
})
};
}
};
})();