6
This commit is contained in:
@@ -5,7 +5,7 @@ requirejs.config({
|
||||
baseUrl: window.Config.cdnurl+window.Config.admin_path+'/js/',
|
||||
packages: [{
|
||||
name: 'moment',
|
||||
location: '../libs/moment',
|
||||
location: window.Config.admin_path+'/libs/moment',
|
||||
main: 'moment'
|
||||
}],
|
||||
paths: {
|
||||
@@ -48,7 +48,7 @@ requirejs.config({
|
||||
},
|
||||
map: {
|
||||
'*': {
|
||||
'css': '../libs/require-css.min.js' // or whatever the path to require-css is
|
||||
'css': window.Config.admin_path+'/libs/require-css.min.js' // or whatever the path to require-css is
|
||||
}
|
||||
},
|
||||
shim: {
|
||||
|
||||
@@ -98,7 +98,7 @@ define(['lightyear','multitabs', '../libs/Chart','form','bootstrap'], function (
|
||||
init: [{
|
||||
type: 'main',
|
||||
title: '首页',
|
||||
url: 'index/'+Config.fixedpage
|
||||
url: Fast.api.fixurl('index/'+Config.fixedpage)
|
||||
}]
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user