Update parent.html

This commit is contained in:
邹景立 2021-06-29 21:23:40 +08:00
parent 8c2dca3ddc
commit 6b7795ef9e

View File

@ -76,7 +76,7 @@
{block name='script'} {block name='script'}
<script> <script>
$('body').off('click', '[data-parent-uuid]').on('click', '[data-parent-uuid]', function () { $('body').off('click', '[data-parent-uuid]').on('click', '[data-parent-uuid]', function () {
$.form.load('{:sysuri()}', {uuid: this.dataset.parentUid, pid: this.dataset.parentPid}, 'post', function (ret) { $.form.load('{:sysuri()}', {uuid: this.dataset.parentUuid, pid: this.dataset.parentPid}, 'post', function (ret) {
if (ret.code > 0) return $.msg.success(ret.info, 3, function () { if (ret.code > 0) return $.msg.success(ret.info, 3, function () {
top.layer.close(top.layer.getFrameIndex(window.name)); top.layer.close(top.layer.getFrameIndex(window.name));
top.$.form.reload(); top.$.form.reload();