mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2026-07-12 02:24:48 +08:00
Compare commits
6 Commits
c7d2eb27a8
...
30e99a3768
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
30e99a3768 | ||
|
|
a1ea804c23 | ||
|
|
0e7de7944b | ||
|
|
90bafcebf8 | ||
|
|
cb20345b8a | ||
|
|
c8f88aeb19 |
@ -79,9 +79,8 @@
|
||||
new PCAS("form_province", "form_city", "form_area", prov, city, area);
|
||||
refresh(), form.on('select(form_province)', refresh), form.on('select(form_city)', refresh), form.on('select(form_area)', refresh);
|
||||
})('{$vo.address_province|default=""}', '{$vo.address_city|default=""}', '{$vo.address_area|default=""}', function (data) {
|
||||
(data && $(data.elem).trigger('change')), setTimeout(function () {
|
||||
layui.form.render();
|
||||
}, 100);
|
||||
$('select:not([lay-ignore])').nextAll('div.layui-form-select').remove();
|
||||
data && data.elem && $(data.elem).trigger('change'), layui.form.render('select');
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
@ -29,10 +29,8 @@ return [
|
||||
'app_map' => [],
|
||||
// 域名绑定(自动多应用模式有效)
|
||||
'domain_bind' => [],
|
||||
// 禁止URL访问的应用列表(自动多应用模式有效)
|
||||
// 禁止访问(自动多应用模式有效)
|
||||
'deny_app_list' => [],
|
||||
// 非调试模式时显示错误的消息
|
||||
'error_message' => '页面错误!请稍后再试~',
|
||||
// CORS 自动配置跨域
|
||||
'cors_auto' => true,
|
||||
// CORS 配置跨域域名
|
||||
@ -41,6 +39,8 @@ return [
|
||||
'cors_methods' => 'GET,PUT,POST,PATCH,DELETE',
|
||||
// CORS 跨域头部字段
|
||||
'cors_headers' => 'Api-Type,Api-Name,Api-Uuid,Api-Token,User-Form-Token,User-Token,Token',
|
||||
// 显示错误的消息,仅产品模式有效
|
||||
'error_message' => '页面错误!请稍后再试~',
|
||||
// 异常模板路径配置,仅开发模式有效
|
||||
'exception_tmpl' => app()->getAppPath() . 'admin/view/error.php',
|
||||
// 异常状态模板配置,仅生产模式有效
|
||||
|
||||
@ -1034,6 +1034,7 @@ $(function () {
|
||||
event.items.push({src: this.dataset.tipsImage || this.dataset.lazySrc || this.src});
|
||||
}) && layer.photos({
|
||||
anim: 5, closeBtn: 1, photos: {start: event.$imgs.index(this), data: event.items}, tab: function (pic, $ele) {
|
||||
$ele.find('img').attr('referrer-policy', 'no-referrer');
|
||||
$ele.find('.layui-layer-close').css({top: '20px', right: '20px', position: 'fixed'});
|
||||
}
|
||||
});
|
||||
|
||||
@ -49,6 +49,7 @@ foreach ($items as &$prov) {
|
||||
$data[] = $prov['fullname'] . '$' . join('|', $lines);
|
||||
}
|
||||
|
||||
// 数据写入文件
|
||||
$jsonFile = __DIR__ . '/data.json';
|
||||
$scriptFile = dirname(__DIR__) . '/pcasunzips.js';
|
||||
$jsonContent = json_encode($items, JSON_UNESCAPED_UNICODE);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user