mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
更新文件
This commit is contained in:
parent
7f99591ef6
commit
56931cb1da
@ -7,7 +7,7 @@ define(['zeroclipboard'], function (ZeroClipboard) {
|
|||||||
cssRules: 'background-position: -380px 0px;',
|
cssRules: 'background-position: -380px 0px;',
|
||||||
onclick: function () {
|
onclick: function () {
|
||||||
var field = '_editor_upload_' + Math.floor(Math.random() * 100000);
|
var field = '_editor_upload_' + Math.floor(Math.random() * 100000);
|
||||||
var url = window.APP_URL + '/plugs/file/one.html?uptype=qiniu&type=image&field=' + field;
|
var url = window.ROOT_URL + '/index.php/admin/plugs/upfile/one.html?uptype=qiniu&type=image&field=' + field;
|
||||||
$('<input type="hidden">').attr('name', field).appendTo(editor.container).on('change', function () {
|
$('<input type="hidden">').attr('name', field).appendTo(editor.container).on('change', function () {
|
||||||
var srcs = this.value.split('|'), data = new Array();
|
var srcs = this.value.split('|'), data = new Array();
|
||||||
for (var i in srcs) {
|
for (var i in srcs) {
|
||||||
@ -37,7 +37,7 @@ define(['zeroclipboard'], function (ZeroClipboard) {
|
|||||||
cssRules: 'background-position: -726px -77px;',
|
cssRules: 'background-position: -726px -77px;',
|
||||||
onclick: function () {
|
onclick: function () {
|
||||||
var field = '_editor_upload_' + Math.floor(Math.random() * 100000);
|
var field = '_editor_upload_' + Math.floor(Math.random() * 100000);
|
||||||
var url = window.APP_URL + '/plugs/file/index.html?uptype=qiniu&type=image&field=' + field;
|
var url = window.ROOT_URL + '/index.php/admin/plugs/upfile/two.html?uptype=qiniu&type=image&field=' + field;
|
||||||
$('<input type="hidden">').attr('name', field).appendTo(editor.container).on('change', function () {
|
$('<input type="hidden">').attr('name', field).appendTo(editor.container).on('change', function () {
|
||||||
var srcs = this.value.split('|');
|
var srcs = this.value.split('|');
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -4,4 +4,4 @@
|
|||||||
|
|
||||||
require_once __DIR__ . '/composer/autoload_real.php';
|
require_once __DIR__ . '/composer/autoload_real.php';
|
||||||
|
|
||||||
return ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe::getLoader();
|
return ComposerAutoloaderInit26cb3a20d8134d0aa7a7901478c9dcc2::getLoader();
|
||||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// autoload_real.php @generated by Composer
|
// autoload_real.php @generated by Composer
|
||||||
|
|
||||||
class ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe
|
class ComposerAutoloaderInit26cb3a20d8134d0aa7a7901478c9dcc2
|
||||||
{
|
{
|
||||||
private static $loader;
|
private static $loader;
|
||||||
|
|
||||||
@ -19,15 +19,15 @@ class ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe
|
|||||||
return self::$loader;
|
return self::$loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
spl_autoload_register(array('ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe', 'loadClassLoader'), true, true);
|
spl_autoload_register(array('ComposerAutoloaderInit26cb3a20d8134d0aa7a7901478c9dcc2', 'loadClassLoader'), true, true);
|
||||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
||||||
spl_autoload_unregister(array('ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe', 'loadClassLoader'));
|
spl_autoload_unregister(array('ComposerAutoloaderInit26cb3a20d8134d0aa7a7901478c9dcc2', 'loadClassLoader'));
|
||||||
|
|
||||||
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
|
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
|
||||||
if ($useStaticLoader) {
|
if ($useStaticLoader) {
|
||||||
require_once __DIR__ . '/autoload_static.php';
|
require_once __DIR__ . '/autoload_static.php';
|
||||||
|
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2::getInitializer($loader));
|
||||||
} else {
|
} else {
|
||||||
$map = require __DIR__ . '/autoload_namespaces.php';
|
$map = require __DIR__ . '/autoload_namespaces.php';
|
||||||
foreach ($map as $namespace => $path) {
|
foreach ($map as $namespace => $path) {
|
||||||
@ -48,19 +48,19 @@ class ComposerAutoloaderInit0f78f3de35894d9e5240028ad0745ffe
|
|||||||
$loader->register(true);
|
$loader->register(true);
|
||||||
|
|
||||||
if ($useStaticLoader) {
|
if ($useStaticLoader) {
|
||||||
$includeFiles = Composer\Autoload\ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe::$files;
|
$includeFiles = Composer\Autoload\ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2::$files;
|
||||||
} else {
|
} else {
|
||||||
$includeFiles = require __DIR__ . '/autoload_files.php';
|
$includeFiles = require __DIR__ . '/autoload_files.php';
|
||||||
}
|
}
|
||||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||||
composerRequire0f78f3de35894d9e5240028ad0745ffe($fileIdentifier, $file);
|
composerRequire26cb3a20d8134d0aa7a7901478c9dcc2($fileIdentifier, $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $loader;
|
return $loader;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
function composerRequire0f78f3de35894d9e5240028ad0745ffe($fileIdentifier, $file)
|
function composerRequire26cb3a20d8134d0aa7a7901478c9dcc2($fileIdentifier, $file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||||
require $file;
|
require $file;
|
||||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
namespace Composer\Autoload;
|
namespace Composer\Autoload;
|
||||||
|
|
||||||
class ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe
|
class ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2
|
||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
|
'9b552a3cc426e3287cc811caefa3cf53' => __DIR__ . '/..' . '/topthink/think-helper/src/helper.php',
|
||||||
@ -273,9 +273,9 @@ class ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe
|
|||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe::$prefixLengthsPsr4;
|
$loader->prefixLengthsPsr4 = ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2::$prefixLengthsPsr4;
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe::$prefixDirsPsr4;
|
$loader->prefixDirsPsr4 = ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2::$prefixDirsPsr4;
|
||||||
$loader->classMap = ComposerStaticInit0f78f3de35894d9e5240028ad0745ffe::$classMap;
|
$loader->classMap = ComposerStaticInit26cb3a20d8134d0aa7a7901478c9dcc2::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user