From 6fc880d9a206e8e2c182cb026bd820535cf2f428 Mon Sep 17 00:00:00 2001 From: Anyon Date: Fri, 13 Sep 2019 16:15:17 +0800 Subject: [PATCH] =?UTF-8?q?[=E6=9B=B4=E6=96=B0]=E4=BF=AE=E6=94=B9=E5=90=8E?= =?UTF-8?q?=E5=8F=B0Js=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- public/static/admin.js | 10 +--------- vendor/autoload.php | 2 +- vendor/composer/autoload_real.php | 14 +++++++------- vendor/composer/autoload_static.php | 8 ++++---- 4 files changed, 13 insertions(+), 21 deletions(-) diff --git a/public/static/admin.js b/public/static/admin.js index be80a2e11..1484c0b84 100644 --- a/public/static/admin.js +++ b/public/static/admin.js @@ -11,13 +11,6 @@ // | github 代码仓库:https://github.com/zoujingli/ThinkAdmin // +---------------------------------------------------------------------- -// 浏览器兼容提示 -(function (w) { - if (!("WebSocket" in w && 2 === w.WebSocket.CLOSING)) { - document.body.innerHTML = '
您使用的浏览器已经过时,建议使用最新版本的谷歌浏览器。立即下载
'; - } -}(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) { diff --git a/vendor/autoload.php b/vendor/autoload.php index 65672f157..bd6cf6209 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInite6ff642f5d0a514e9d0fd7f1fb6369db::getLoader(); +return ComposerAutoloaderInit45a3f05918f1aefa496038363a905f7d::getLoader(); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index 69318c190..fae8f537f 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -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; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 381d93e27..712426ffe 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -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); }