mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-16 04:11:05 +08:00
Compare commits
2 Commits
88e8b5d4a3
...
a3fad57138
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a3fad57138 | ||
|
|
3d9836d5d5 |
@ -17,7 +17,7 @@
|
||||
return [
|
||||
// 忽略数据表
|
||||
'ignore' => [],
|
||||
// 数据表结构
|
||||
// 创建数据表
|
||||
'tables' => [],
|
||||
// 备份数据表
|
||||
'backup' => [],
|
||||
|
||||
@ -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 () {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user