[更新]修改后台Js文件

This commit is contained in:
Anyon 2019-09-13 16:15:17 +08:00
parent 77c9882612
commit 6fc880d9a2
4 changed files with 13 additions and 21 deletions

View File

@ -11,13 +11,6 @@
// | github 代码仓库https://github.com/zoujingli/ThinkAdmin
// +----------------------------------------------------------------------
// 浏览器兼容提示
(function (w) {
if (!("WebSocket" in w && 2 === w.WebSocket.CLOSING)) {
document.body.innerHTML = '<div class="version-debug">您使用的浏览器已经<strong>过时</strong>,建议使用最新版本的谷歌浏览器。<a target="_blank" href="https://www.google.cn/chrome" class="layui-btn layui-btn-primary">立即下载</a></div>';
}
}(window));
// Layui & jQuery
if (typeof jQuery === 'undefined') window.$ = window.jQuery = layui.$;
window.form = layui.form, window.layer = layui.layer, window.laydate = layui.laydate;
@ -42,7 +35,6 @@ require.config({
'echarts': ['plugs/echarts/echarts.min'],
'angular': ['plugs/angular/angular.min'],
'ckeditor': ['plugs/ckeditor/ckeditor'],
'plupload': ['plugs/plupload/plupload.full.min'],
'websocket': ['plugs/socket/websocket'],
'pcasunzips': ['plugs/jquery/pcasunzips'],
'jquery.ztree': ['plugs/ztree/ztree.all.min'],
@ -66,7 +58,7 @@ $(function () {
/*! 消息组件实例 */
$.msg = new function (that) {
that = this;
this.indexs = [];
this.idx = [];
this.shade = [0.02, '#000'];
// 关闭消息框
this.close = function (index) {

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db::getLoader();
return ComposerAutoloaderInit45a3f05918f1aefa496038363a905f7d::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db
class ComposerAutoloaderInit45a3f05918f1aefa496038363a905f7d
{
private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit45a3f05918f1aefa496038363a905f7d', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit45a3f05918f1aefa496038363a905f7d', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit45a3f05918f1aefa496038363a905f7d::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit45a3f05918f1aefa496038363a905f7d::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequiree6ff642f5d0a514e9d0fd7f1fb6369db($fileIdentifier, $file);
composerRequire45a3f05918f1aefa496038363a905f7d($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequiree6ff642f5d0a514e9d0fd7f1fb6369db($fileIdentifier, $file)
function composerRequire45a3f05918f1aefa496038363a905f7d($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db
class ComposerStaticInit45a3f05918f1aefa496038363a905f7d
{
public static $files = array (
'841780ea2e1d6545ea3a253239d59c05' => __DIR__ . '/..' . '/qiniu/php-sdk/src/Qiniu/functions.php',
@ -314,9 +314,9 @@ class ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInite6ff642f5d0a514e9d0fd7f1fb6369db::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit45a3f05918f1aefa496038363a905f7d::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit45a3f05918f1aefa496038363a905f7d::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit45a3f05918f1aefa496038363a905f7d::$classMap;
}, null, ClassLoader::class);
}