提交 | 用户 | 时间 | ||
1ac2bc | 1 | layui.use(['form', 'admin', 'ax'], function () { |
懒 | 2 | var $ = layui.jquery; |
3 | var $ax = layui.ax; | |
4 | var form = layui.form; | |
5 | var admin = layui.admin; | |
6 | ||
7 | var ajax = new $ax(Feng.ctxPath + "/model/getXmlView?modelId=" + Feng.getUrlParam("modelId")); | |
8 | var result = ajax.start(); | |
9 | ||
10 | $("#code").html(result.data); | |
11 | ||
12 | layui.use('code', function () { | |
13 | ||
14 | layui.code({ | |
15 | encode: true, | |
16 | about: false | |
17 | }); | |
18 | ||
19 | }); | |
20 | }); |