更新功能
This commit is contained in:
@@ -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/'});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user