Compare commits

...

2 Commits

Author SHA1 Message Date
邹景立
a3fad57138 Update phinx.php 2022-11-16 18:00:28 +08:00
邹景立
3d9836d5d5 Update admin.js 2022-11-16 14:57:38 +08:00
2 changed files with 6 additions and 1 deletions

View File

@ -17,7 +17,7 @@
return [
// 忽略数据表
'ignore' => [],
// 数据表结构
// 创建数据表
'tables' => [],
// 备份数据表
'backup' => [],

View File

@ -1087,6 +1087,11 @@ $(function () {
$.previewPhonePage(this.dataset.phoneView || this.href);
});
/*! 注册 data-event-submit 事件行为 */
onEvent('click', '[data-event-submit]', function () {
$(this.dataset.eventSubmit || this).submit();
});
/*! 表单编辑返回操作 */
onEvent('click', '[data-history-back]', function () {
$.msg.confirm(this.dataset.historyBack || '确定要返回吗?', function () {