OpenAuth.Net/OpenAuth.Mvc/userJs/preview.js
2018-03-24 09:56:32 +08:00

14 lines
487 B
JavaScript

layui.config({
base: "/js/"
}).use(['form','vue', 'layer', 'jquery', 'table','droptree','utils'], function () {
var form = layui.form,
element = layui.element,
//layer = (parent == undefined || parent.layer === undefined )? layui.layer : parent.layer,
layer = layui.layer,
$ = layui.jquery;
var id = $.getUrlParam("id");
$.getJSON("/forms/get?id=" + id, function (data) {
$("#content").html(data.Result.Html);
});
})