修复数据库备份与恢复

This commit is contained in:
2020-04-11 13:43:12 +08:00
parent 495a1b9b8b
commit b03606abd7
3 changed files with 121 additions and 3 deletions

View File

@@ -114,14 +114,14 @@ require(['jquery', 'bootstrap', 'message', 'adminlte'], function ($) {
window.Config = Config;
// 配置语言包的路径
var paths = {}; // 避免目录冲突
paths['backend/'] = 'backend/';
paths['backend'] = 'backend/';
require.config({paths: paths});
$(function(){
require(['sent'], function(sent){
require(['admin/js/backend'], function(backend){
//加载相应模块
if (Config.jsname) {
require([Config.jsname], function (Controller) {
require(['admin/js/module/'+Config.jsname], function (Controller) {
if (Controller.hasOwnProperty(Config.actionname)) {
Controller[Config.actionname]();
} else {