提交 593170c0 编写于 作者: Skyeye云's avatar Skyeye云

添加模板添加编辑时的提示

上级 55641b51
......@@ -11,6 +11,17 @@ layui.config({
form = layui.form;
var editor;
layer.open({
type: 1,
closeBtn: 0,//关闭按钮
resize: false,//是否允许拉伸
offset: 'l', // 具体配置参考:offset参数项
content: $("#modelContentDiv").html(),
area: ['200px', '400px'],
shade: 0, //不显示遮罩
title: '注意事项'
});
showGrid({
id: "showForm",
url: reqBasePath + "codemodel009",
......
......@@ -16,6 +16,12 @@
</form>
</div>
<div id="modelContentDiv" style="height:auto; position: fixed; left: 10000px;">
模板使用替换事项:<br>
1.${{package}}为包名替换<br>
2.${{tableName}}为Controller、Service等层的类名,类方法。<br>
</div>
<script src="../../assets/lib/layui/layui.js"></script>
<script src="../../assets/lib/layui/custom.js"></script>
<script type="text/javascript">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册