更新功能

This commit is contained in:
2019-07-10 16:17:51 +08:00
parent 79800d9fcc
commit 5046d8374a
10 changed files with 131 additions and 26 deletions

View File

@@ -23,8 +23,8 @@ require.config({
"nanoscroller":"/static/libs/nanoscroller/jquery.nanoscroller.min",
"slimscroll":"/static/js/jquery.slimscroll.min",
"bootstrap":"/static/libs/bootstrap/js/bootstrap.min",
'bootstrap-table-commonsearch': 'bootstrap-table-commonsearch',
'bootstrap-table-template': 'bootstrap-table-template',
'bootstrap-table-commonsearch': '/static/js/bootstrap-table-commonsearch',
'bootstrap-table-template': '/static/js/bootstrap-table-template',
//
// 以下的包从bower的libs目录加载
'jquery': '/static/libs/jquery/dist/jquery.min',
@@ -129,7 +129,7 @@ require.config({
require(['jquery', 'sent'], function($, Sent){
$(function($) {
require(['backend', 'backend-init', 'addons'], function (Backend, undefined, Addons) {
require(['backend', 'addons'], function (Backend, Addons) {
// 避免目录冲突
require.config({baseUrl: '/static/admin/js/module/'});