Compare commits

..

No commits in common. "30e99a37684d437c423e64556ab8e38413abc1a8" and "c7d2eb27a81b3939b63e4599b16e4de28a0cf92d" have entirely different histories.

4 changed files with 6 additions and 7 deletions

View File

@ -79,8 +79,9 @@
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) {
$('select:not([lay-ignore])').nextAll('div.layui-form-select').remove();
data && data.elem && $(data.elem).trigger('change'), layui.form.render('select');
(data && $(data.elem).trigger('change')), setTimeout(function () {
layui.form.render();
}, 100);
});
});

View File

@ -29,8 +29,10 @@ return [
'app_map' => [],
// 域名绑定(自动多应用模式有效)
'domain_bind' => [],
// 禁止访问(自动多应用模式有效)
// 禁止URL访问的应用列表(自动多应用模式有效)
'deny_app_list' => [],
// 非调试模式时显示错误的消息
'error_message' => '页面错误!请稍后再试~',
// CORS 自动配置跨域
'cors_auto' => true,
// CORS 配置跨域域名
@ -39,8 +41,6 @@ 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',
// 异常状态模板配置,仅生产模式有效

View File

@ -1034,7 +1034,6 @@ $(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'});
}
});

View File

@ -49,7 +49,6 @@ 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);