mirror of
https://gitee.com/zongzhige/shopxo.git
synced 2026-06-07 02:12:25 +08:00
编辑器初始化未登录校验
This commit is contained in:
@ -34,9 +34,6 @@ class Ueditor extends Common
|
||||
{
|
||||
// 调用父类前置方法
|
||||
parent::__construct();
|
||||
|
||||
// 登录校验
|
||||
$this->Is_Login();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@ -24,7 +24,7 @@
|
||||
/**
|
||||
* 服务器地址
|
||||
*/
|
||||
var SERVER_URL = $('#upload-editor-view').data('url');
|
||||
var SERVER_URL = ($('#upload-editor-view').length > 0) ? $('#upload-editor-view').data('url') : '';
|
||||
/**
|
||||
* 配置项主体。注意,此处所有涉及到路径的配置别遗漏URL变量。
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user