mirror of https://github.com/halo-dev/halo
parent
57965ed934
commit
ce9284b962
34
CHANGELOG.md
34
CHANGELOG.md
|
@ -1,5 +1,39 @@
|
|||
# CHANGELOG
|
||||
|
||||
# 1.5.2
|
||||
|
||||
## Improvements
|
||||
|
||||
- 保存文章的时候不再保存内容到 `posts` 表,`originalContent` 和 `formatContent` 已经是废弃字段。 halo-dev/halo#1797 @guqing
|
||||
- 优化 Markdown 文档导入的 FrontMatter 的解析规则。 halo-dev/halo#1813 @LIlGG
|
||||
- 优化文章和分类的加密逻辑。 halo-dev/halo#1826 halo-dev/halo#1827 @guqing
|
||||
- 后台文章设置中选择分类列表支持显示加密状态。 halo-dev/halo-admin#540 @ruibaby
|
||||
- 后台文章管理中分类筛选列表支持显示加密状态。 halo-dev/halo-admin#541 @ruibaby
|
||||
|
||||
## Bug Fixes
|
||||
|
||||
- 修复无法删除分类的问题。 halo-dev/halo#1806 @guqing
|
||||
- 修复加密文章在前台部分 API 中被包含的问题。 halo-dev/halo#1811 @guqing
|
||||
- 修复本地附件上传在 Windows 平台下最终路径出现多个分隔符的问题。 halo-dev/halo#1812 @guqing
|
||||
- 修复删除加密分类之后,其下文章没有同步更改状态的问题。 halo-dev/halo#1815 @guqing
|
||||
- 修复批量发布加密文章没有同步状态的问题。 halo-dev/halo#1821 @guqing
|
||||
- 修复更改回收站文章的设置时,文章被重新发布的问题。 halo-dev/halo#1820 @guqing
|
||||
- 修复从 1.4.x 升级到 1.5.x 之后,原本非发布状态的文章可能无法保存的问题。 halo-dev/halo#1814 @guqing
|
||||
- 修复分类统计文章数量没有排除回收站文章的问题。 halo-dev/halo#1822 @guqing
|
||||
- 修复标签统计文章数量没有排除回收站文章的问题。 halo-dev/halo#1823 @guqing
|
||||
- 修复加密文章从回收站恢复后的状态不是加密的问题。 halo-dev/halo#1824 @guqing
|
||||
- 修复后台仪表盘统计中图标显示不完整的问题。 halo-dev/halo-admin#536 @ruibaby
|
||||
- 修复后台页面切换时长超过 250ms 的时候不显示加载条的问题。 halo-dev/halo-admin#539 @ruibaby
|
||||
- 修复后台文章回收站列表文章标题无法显示完整的问题。 halo-dev/halo-admin#537 @ruibaby
|
||||
- 修复后台分类列表当没有数据的时候不显示空状态的问题。 halo-dev/halo-admin#538 @ruibaby
|
||||
- 重构后台主题色切换逻辑,修复切换主题色之后,部分样式异常的问题。 halo-dev/halo-admin#543 @ruibaby
|
||||
|
||||
## Dependencies
|
||||
|
||||
- 升级 Spring Boot 版本至 2.5.12。 halo-dev/halo#1819 @guqing
|
||||
- 更新后台 @halo-dev/editor 版本。 halo-dev/halo-admin#535 @ruibaby
|
||||
- 修复点击导航菜单项无法滚动到指定预览区域的问题。
|
||||
|
||||
# 1.5.1
|
||||
|
||||
## Bug Fixes
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
下载最新的 Halo 运行包:
|
||||
|
||||
```bash
|
||||
curl -L https://github.com/halo-dev/halo/releases/download/v1.5.1/halo-1.5.1.jar --output halo.jar
|
||||
curl -L https://github.com/halo-dev/halo/releases/download/v1.5.2/halo-1.5.2.jar --output halo.jar
|
||||
```
|
||||
|
||||
其他地址:<https://docs.halo.run/getting-started/downloads>
|
||||
|
@ -41,7 +41,7 @@ java -jar halo.jar
|
|||
### Docker
|
||||
|
||||
```bash
|
||||
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo:1.5.1
|
||||
docker run -it -d --name halo -p 8090:8090 -v ~/.halo:/root/.halo --restart=always halohub/halo:1.5.2
|
||||
```
|
||||
|
||||
详细部署文档请查阅:<https://docs.halo.run/getting-started/install/linux>
|
||||
|
|
|
@ -1 +1 @@
|
|||
version=1.5.2-SNAPSHOT
|
||||
version=1.5.3-SNAPSHOT
|
||||
|
|
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1,255 @@
|
|||
.setting-drawer-index-content .setting-drawer-index-blockChecbox .setting-drawer-index-item .setting-drawer-index-selectIcon[data-v-0512f470]{color:#1890ff}
|
||||
.setting-drawer-index-handle[data-v-0512f470]{background:#1890ff}
|
||||
.layout.ant-layout .header .user-wrapper .action .avatar,.layout.ant-layout .top-nav-header-index .user-wrapper .action .avatar{color:#1890ff}
|
||||
a{color:#1890ff}
|
||||
a:hover{color:#40a9ff}
|
||||
a:active{color:#096dd9}
|
||||
::-moz-selection{background:#1890ff}
|
||||
::selection{background:#1890ff}
|
||||
html{--antd-wave-shadow-color:#1890ff}
|
||||
.ant-click-animating-node,[ant-click-animating-without-extra-node=true]:after{box-shadow:0 0 0 0 #1890ff}
|
||||
@-webkit-keyframes waveEffect{to{box-shadow:0 0 0 #1890ff}}
|
||||
@keyframes waveEffect{to{box-shadow:0 0 0 #1890ff}}
|
||||
.ant-alert-info{background-color:#e6f7ff;border:1px solid #91d5ff}
|
||||
.ant-alert-info .ant-alert-icon{color:#1890ff}
|
||||
.ant-anchor-ink-ball{border:2px solid #1890ff}
|
||||
.ant-anchor-link-active>.ant-anchor-link-title{color:#1890ff}
|
||||
.ant-select-auto-complete.ant-select .ant-input:focus,.ant-select-auto-complete.ant-select .ant-input:hover{border-color:#40a9ff}
|
||||
.ant-badge-status-processing{background-color:#1890ff}
|
||||
.ant-badge-status-processing:after{border:1px solid #1890ff}
|
||||
.ant-badge-status-blue{background:#1890ff}
|
||||
.ant-breadcrumb a:hover{color:#40a9ff}
|
||||
.ant-btn:focus:not(.ant-btn-primary):not(.ant-btn-danger):not(.ant-btn-link),.ant-btn:hover:not(.ant-btn-primary):not(.ant-btn-danger):not(.ant-btn-link){color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn.active:not(.ant-btn-primary):not(.ant-btn-danger):not(.ant-btn-link),.ant-btn:active:not(.ant-btn-primary):not(.ant-btn-danger):not(.ant-btn-link){color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-primary{background-color:#1890ff;border-color:#1890ff}
|
||||
.ant-btn-primary:focus,.ant-btn-primary:hover{background-color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn-primary.active,.ant-btn-primary:active{background-color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-group .ant-btn-primary:not(:first-child):not(:last-child){border-right-color:#40a9ff;border-left-color:#40a9ff}
|
||||
.ant-btn-group .ant-btn-primary:first-child:not(:last-child){border-right-color:#40a9ff}
|
||||
.ant-btn-group .ant-btn-primary+.ant-btn-primary,.ant-btn-group .ant-btn-primary:last-child:not(:first-child){border-left-color:#40a9ff}
|
||||
.ant-btn-ghost:focus,.ant-btn-ghost:hover{color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn-ghost.active,.ant-btn-ghost:active{color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-dashed:focus,.ant-btn-dashed:hover{color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn-dashed.active,.ant-btn-dashed:active{color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-link{color:#1890ff}
|
||||
.ant-btn-link:focus,.ant-btn-link:hover{color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn-link.active,.ant-btn-link:active{color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-background-ghost.ant-btn-primary{color:#1890ff;border-color:#1890ff}
|
||||
.ant-btn-background-ghost.ant-btn-primary:focus,.ant-btn-background-ghost.ant-btn-primary:hover{color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-btn-background-ghost.ant-btn-primary.active,.ant-btn-background-ghost.ant-btn-primary:active{color:#096dd9;border-color:#096dd9}
|
||||
.ant-btn-background-ghost.ant-btn-link{color:#1890ff}
|
||||
.ant-btn-background-ghost.ant-btn-link:focus,.ant-btn-background-ghost.ant-btn-link:hover{color:#40a9ff}
|
||||
.ant-btn-background-ghost.ant-btn-link.active,.ant-btn-background-ghost.ant-btn-link:active{color:#096dd9}
|
||||
.ant-fullcalendar-value:hover{background:#e6f7ff}
|
||||
.ant-fullcalendar-value:active{background:#1890ff}
|
||||
.ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-value,.ant-fullcalendar-today .ant-fullcalendar-value{box-shadow:inset 0 0 0 1px #1890ff}
|
||||
.ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,.ant-fullcalendar-selected-day .ant-fullcalendar-value{background:#1890ff}
|
||||
.ant-fullcalendar-fullscreen .ant-fullcalendar-date:hover,.ant-fullcalendar-fullscreen .ant-fullcalendar-month:hover{background:#e6f7ff}
|
||||
.ant-fullcalendar-fullscreen .ant-fullcalendar-date:active,.ant-fullcalendar-fullscreen .ant-fullcalendar-month:active{background:#bae7ff}
|
||||
.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-current-cell .ant-fullcalendar-month,.ant-fullcalendar-fullscreen .ant-fullcalendar-today .ant-fullcalendar-date{border-top-color:#1890ff}
|
||||
.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-month,.ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-date{background:#e6f7ff}
|
||||
.ant-fullcalendar-fullscreen .ant-fullcalendar-month-panel-selected-cell .ant-fullcalendar-value,.ant-fullcalendar-fullscreen .ant-fullcalendar-selected-day .ant-fullcalendar-value{color:#1890ff}
|
||||
.ant-card-actions>li>span:hover{color:#1890ff}
|
||||
.ant-card-actions>li>span a:not(.ant-btn):hover,.ant-card-actions>li>span>.anticon:hover{color:#1890ff}
|
||||
.ant-cascader-picker:focus .ant-cascader-input{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-cascader-picker-label:hover+.ant-cascader-input{border-color:#40a9ff}
|
||||
.ant-cascader-menu-item:hover{background:#e6f7ff}
|
||||
.ant-checkbox-input:focus+.ant-checkbox-inner,.ant-checkbox-wrapper:hover .ant-checkbox-inner,.ant-checkbox:hover .ant-checkbox-inner{border-color:#1890ff}
|
||||
.ant-checkbox-checked:after{border:1px solid #1890ff}
|
||||
.ant-checkbox-checked .ant-checkbox-inner{background-color:#1890ff;border-color:#1890ff}
|
||||
.ant-checkbox-indeterminate .ant-checkbox-inner:after{background-color:#1890ff}
|
||||
.ant-calendar-picker:hover .ant-calendar-picker-input:not(.ant-input-disabled){border-color:#40a9ff}
|
||||
.ant-calendar-picker:focus .ant-calendar-picker-input:not(.ant-input-disabled){border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-calendar-header a:hover{color:#40a9ff}
|
||||
.ant-calendar-date:hover{background:#e6f7ff}
|
||||
.ant-calendar-date:active{background:#40a9ff}
|
||||
:not(.ant-calendar-selected-date):not(.ant-calendar-selected-day).ant-calendar-today .ant-calendar-date{color:#1890ff;border-color:#1890ff}
|
||||
.ant-calendar-selected-day .ant-calendar-date{background:#bae7ff}
|
||||
.ant-calendar .ant-calendar-ok-btn{background-color:#1890ff;border-color:#1890ff}
|
||||
.ant-calendar .ant-calendar-ok-btn:focus,.ant-calendar .ant-calendar-ok-btn:hover{background-color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-calendar .ant-calendar-ok-btn.active,.ant-calendar .ant-calendar-ok-btn:active{background-color:#096dd9;border-color:#096dd9}
|
||||
.ant-calendar-range .ant-calendar-today :not(.ant-calendar-disabled-cell) :not(.ant-calendar-last-month-cell) :not(.ant-calendar-next-month-btn-day) .ant-calendar-date{color:#1890ff;background:#bae7ff;border-color:#1890ff}
|
||||
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date,.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date{background:#1890ff}
|
||||
.ant-calendar-range .ant-calendar-selected-end-date .ant-calendar-date:hover,.ant-calendar-range .ant-calendar-selected-start-date .ant-calendar-date:hover{background:#1890ff}
|
||||
.ant-calendar-range .ant-calendar-input:hover,.ant-calendar-range .ant-calendar-time-picker-input:hover{border-color:#40a9ff}
|
||||
.ant-calendar-range .ant-calendar-input:focus,.ant-calendar-range .ant-calendar-time-picker-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-calendar-range .ant-calendar-in-range-cell:before{background:#e6f7ff}
|
||||
.ant-calendar-time-picker-select li:hover{background:#e6f7ff}
|
||||
.ant-calendar-time-picker-select li:focus{color:#1890ff}
|
||||
.ant-calendar-month-panel-header a:hover{color:#40a9ff}
|
||||
.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month,.ant-calendar-month-panel-selected-cell .ant-calendar-month-panel-month:hover{background:#1890ff}
|
||||
.ant-calendar-month-panel-month:hover{background:#e6f7ff}
|
||||
.ant-calendar-year-panel-header a:hover{color:#40a9ff}
|
||||
.ant-calendar-year-panel-year:hover{background:#e6f7ff}
|
||||
.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year,.ant-calendar-year-panel-selected-cell .ant-calendar-year-panel-year:hover{background:#1890ff}
|
||||
.ant-calendar-decade-panel-header a:hover{color:#40a9ff}
|
||||
.ant-calendar-decade-panel-decade:hover{background:#e6f7ff}
|
||||
.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade,.ant-calendar-decade-panel-selected-cell .ant-calendar-decade-panel-decade:hover{background:#1890ff}
|
||||
.ant-calendar-week-number .ant-calendar-body tr:hover{background:#e6f7ff}
|
||||
.ant-calendar-week-number .ant-calendar-body tr.ant-calendar-active-week{background:#bae7ff}
|
||||
.ant-dropdown-menu-item-selected,.ant-dropdown-menu-item-selected>a,.ant-dropdown-menu-submenu-title-selected,.ant-dropdown-menu-submenu-title-selected>a{color:#1890ff;background-color:#e6f7ff}
|
||||
.ant-dropdown-menu-item:hover,.ant-dropdown-menu-submenu-title:hover{background-color:#e6f7ff}
|
||||
.ant-dropdown-menu-submenu-selected .ant-dropdown-menu-submenu-title{color:#1890ff}
|
||||
.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected:hover,.ant-dropdown-menu-dark .ant-dropdown-menu-item-selected>a{background:#1890ff}
|
||||
.has-error .ant-transfer-list-search:not([disabled]):hover{border-color:#40a9ff}
|
||||
.has-error .ant-transfer-list-search:not([disabled]):focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.is-validating.has-feedback .ant-form-item-children-icon{color:#1890ff}
|
||||
.ant-input:focus,.ant-input:hover{border-color:#40a9ff}
|
||||
.ant-input:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-input-group-addon .ant-select-focused .ant-select-selection,.ant-input-group-addon .ant-select-open .ant-select-selection{color:#1890ff}
|
||||
.ant-input-affix-wrapper:hover .ant-input:not(.ant-input-disabled){border-color:#40a9ff}
|
||||
.ant-input-number:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-input-number-handler:hover .ant-input-number-handler-down-inner,.ant-input-number-handler:hover .ant-input-number-handler-up-inner{color:#40a9ff}
|
||||
.ant-input-number-focused,.ant-input-number:hover{border-color:#40a9ff}
|
||||
.ant-input-number-focused{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-list-item-meta-title>a:hover{color:#1890ff}
|
||||
.ant-mentions:focus,.ant-mentions:hover{border-color:#40a9ff}
|
||||
.ant-mentions:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-mentions-focused{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-mentions-dropdown-menu-item:hover{background-color:#e6f7ff}
|
||||
.ant-mentions-dropdown-menu-item-active{background-color:#e6f7ff}
|
||||
.ant-menu-submenu-selected{color:#1890ff}
|
||||
.ant-menu-item:active,.ant-menu-submenu-title:active{background:#e6f7ff}
|
||||
.ant-menu-item>a:hover{color:#1890ff}
|
||||
.ant-menu-item>.ant-badge>a:hover{color:#1890ff}
|
||||
.ant-menu-item-active,.ant-menu-item:hover,.ant-menu-submenu-active,.ant-menu-submenu-title:hover,.ant-menu:not(.ant-menu-inline) .ant-menu-submenu-open{color:#1890ff}
|
||||
.ant-menu-item-selected,.ant-menu-item-selected>a,.ant-menu-item-selected>a:hover{color:#1890ff}
|
||||
.ant-menu:not(.ant-menu-horizontal) .ant-menu-item-selected{background-color:#e6f7ff}
|
||||
.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-inline>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-left>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical-right>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:after,.ant-menu-submenu-vertical>.ant-menu-submenu-title:hover .ant-menu-submenu-arrow:before{background:linear-gradient(90deg,#1890ff,#1890ff)}
|
||||
.ant-menu-vertical .ant-menu-submenu-selected,.ant-menu-vertical .ant-menu-submenu-selected>a,.ant-menu-vertical-left .ant-menu-submenu-selected,.ant-menu-vertical-left .ant-menu-submenu-selected>a,.ant-menu-vertical-right .ant-menu-submenu-selected,.ant-menu-vertical-right .ant-menu-submenu-selected>a{color:#1890ff}
|
||||
.ant-menu-horizontal > .ant-menu-item-active,.ant-menu-horizontal > .ant-menu-item-open,.ant-menu-horizontal > .ant-menu-item-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-item:hover,.ant-menu-horizontal > .ant-menu-submenu-active,.ant-menu-horizontal > .ant-menu-submenu-open,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu-selected,.ant-menu-horizontal:not(.ant-menu-dark) > .ant-menu-submenu:hover{color:#1890ff;border-bottom:2px solid #1890ff}
|
||||
.ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item > a:hover{color:#1890ff}
|
||||
.ant-menu-horizontal:not(ant-menu-light):not(.ant-menu-dark) > .ant-menu-item-selected > a{color:#1890ff}
|
||||
.ant-menu-inline .ant-menu-item:after,.ant-menu-vertical .ant-menu-item:after,.ant-menu-vertical-left .ant-menu-item:after,.ant-menu-vertical-right .ant-menu-item:after{border-right:3px solid #1890ff}
|
||||
.ant-menu-submenu-popup.ant-menu-dark .ant-menu-item-selected,.ant-menu.ant-menu-dark .ant-menu-item-selected{background-color:#1890ff}
|
||||
.ant-message-info .anticon,.ant-message-loading .anticon{color:#1890ff}
|
||||
.ant-modal-confirm-info .ant-modal-confirm-body>.anticon{color:#1890ff}
|
||||
.anticon.ant-notification-notice-icon-info{color:#1890ff}
|
||||
.ant-page-header-back-button{color:#1890ff}
|
||||
.ant-page-header-back-button:focus,.ant-page-header-back-button:hover{color:#40a9ff}
|
||||
.ant-page-header-back-button:active{color:#096dd9}
|
||||
.ant-pagination-item:focus,.ant-pagination-item:hover{border-color:#1890ff}
|
||||
.ant-pagination-item:focus a,.ant-pagination-item:hover a{color:#1890ff}
|
||||
.ant-pagination-item-active{border-color:#1890ff}
|
||||
.ant-pagination-item-active a{color:#1890ff}
|
||||
.ant-pagination-item-active:focus,.ant-pagination-item-active:hover{border-color:#40a9ff}
|
||||
.ant-pagination-item-active:focus a,.ant-pagination-item-active:hover a{color:#40a9ff}
|
||||
.ant-pagination-jump-next .ant-pagination-item-container .ant-pagination-item-link-icon,.ant-pagination-jump-prev .ant-pagination-item-container .ant-pagination-item-link-icon{color:#1890ff}
|
||||
.ant-pagination-next:hover a,.ant-pagination-prev:hover a{border-color:#40a9ff}
|
||||
.ant-pagination-next:focus .ant-pagination-item-link,.ant-pagination-next:hover .ant-pagination-item-link,.ant-pagination-prev:focus .ant-pagination-item-link,.ant-pagination-prev:hover .ant-pagination-item-link{color:#1890ff;border-color:#1890ff}
|
||||
.ant-pagination-options-quick-jumper input:focus,.ant-pagination-options-quick-jumper input:hover{border-color:#40a9ff}
|
||||
.ant-pagination-options-quick-jumper input:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-pagination-simple .ant-pagination-simple-pager input:hover{border-color:#1890ff}
|
||||
.ant-progress-inner:not(.ant-progress-circle-gradient) .ant-progress-circle-path{stroke:#1890ff}
|
||||
.ant-progress-bg,.ant-progress-success-bg{background-color:#1890ff}
|
||||
.ant-radio-input:focus+.ant-radio-inner,.ant-radio-wrapper:hover .ant-radio,.ant-radio:hover .ant-radio-inner{border-color:#1890ff}
|
||||
.ant-radio-input:focus+.ant-radio-inner{box-shadow:0 0 0 3px rgba(24,144,255,.08)}
|
||||
.ant-radio-checked:after{border:1px solid #1890ff}
|
||||
.ant-radio-inner:after{background-color:#1890ff}
|
||||
.ant-radio-checked .ant-radio-inner{border-color:#1890ff}
|
||||
.ant-radio-button-wrapper:hover{color:#1890ff}
|
||||
.ant-radio-button-wrapper:focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){color:#1890ff;border-color:#1890ff}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):before{background-color:#1890ff}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):first-child{border-color:#1890ff}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{color:#40a9ff;border-color:#40a9ff}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover:before{background-color:#40a9ff}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{color:#096dd9;border-color:#096dd9}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active:before{background-color:#096dd9}
|
||||
.ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}
|
||||
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled){background:#1890ff;border-color:#1890ff}
|
||||
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):hover{background:#40a9ff;border-color:#40a9ff}
|
||||
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):active{background:#096dd9;border-color:#096dd9}
|
||||
.ant-radio-group-solid .ant-radio-button-wrapper-checked:not(.ant-radio-button-wrapper-disabled):focus-within{box-shadow:0 0 0 3px rgba(24,144,255,.08)}
|
||||
.ant-result-info .ant-result-icon>.anticon{color:#1890ff}
|
||||
.ant-select-selection:hover{border-color:#40a9ff}
|
||||
.ant-select-focused .ant-select-selection,.ant-select-selection:active,.ant-select-selection:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-select-open .ant-select-selection{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-select-dropdown-menu-item:hover:not(.ant-select-dropdown-menu-item-disabled){background-color:#e6f7ff}
|
||||
.ant-select-dropdown-menu-item-active:not(.ant-select-dropdown-menu-item-disabled){background-color:#e6f7ff}
|
||||
.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected .ant-select-selected-icon,.ant-select-dropdown.ant-select-dropdown--multiple .ant-select-dropdown-menu-item-selected:hover .ant-select-selected-icon{color:#1890ff}
|
||||
.ant-slider-track{background-color:#91d5ff}
|
||||
.ant-slider-handle{border:2px solid #91d5ff}
|
||||
.ant-slider-handle:focus{border-color:#46a6ff;box-shadow:0 0 0 5px rgba(24,144,255,.2)}
|
||||
.ant-slider-handle.ant-tooltip-open{border-color:#1890ff}
|
||||
.ant-slider:hover .ant-slider-track{background-color:#69c0ff}
|
||||
.ant-slider:hover .ant-slider-handle:not(.ant-tooltip-open){border-color:#69c0ff}
|
||||
.ant-slider-dot-active{border-color:#8cc8ff}
|
||||
.ant-spin{color:#1890ff}
|
||||
.ant-spin-dot-item{background-color:#1890ff}
|
||||
.ant-steps-item-icon>.ant-steps-icon{color:#1890ff}
|
||||
.ant-steps-item-process .ant-steps-item-icon{border-color:#1890ff}
|
||||
.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}
|
||||
.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}
|
||||
.ant-steps-item-process .ant-steps-item-icon{background:#1890ff}
|
||||
.ant-steps-item-finish .ant-steps-item-icon{border-color:#1890ff}
|
||||
.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}
|
||||
.ant-steps-item-finish .ant-steps-item-icon>.ant-steps-icon .ant-steps-icon-dot{background:#1890ff}
|
||||
.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-content>.ant-steps-item-title:after{background-color:#1890ff}
|
||||
.ant-steps-item-finish>.ant-steps-item-container>.ant-steps-item-tail:after{background-color:#1890ff}
|
||||
.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-description,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-subtitle,.ant-steps .ant-steps-item:not(.ant-steps-item-active)>.ant-steps-item-container[role=button]:hover .ant-steps-item-title{color:#1890ff}
|
||||
.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon{border-color:#1890ff}
|
||||
.ant-steps .ant-steps-item:not(.ant-steps-item-active):not(.ant-steps-item-process)>.ant-steps-item-container[role=button]:hover .ant-steps-item-icon .ant-steps-icon{color:#1890ff}
|
||||
.ant-steps-item-custom.ant-steps-item-process .ant-steps-item-icon>.ant-steps-icon{color:#1890ff}
|
||||
.ant-steps-navigation .ant-steps-item:before{background-color:#1890ff}
|
||||
.ant-switch-checked.ant-switch-loading .ant-switch-loading-icon{color:#1890ff}
|
||||
.ant-switch:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-switch-checked{background-color:#1890ff}
|
||||
.ant-table-thead>tr>th .ant-table-filter-selected.anticon{color:#1890ff}
|
||||
.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-down.on,.ant-table-thead>tr>th .ant-table-column-sorter .ant-table-column-sorter-inner .ant-table-column-sorter-up.on{color:#1890ff}
|
||||
.ant-table-tbody>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-tbody>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr.ant-table-row-hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td,.ant-table-thead>tr:hover:not(.ant-table-expanded-row):not(.ant-table-row-selected)>td{background:#e6f7ff}
|
||||
.ant-table-filter-dropdown .ant-dropdown-menu .ant-dropdown-submenu-contain-selected .ant-dropdown-menu-submenu-title:after{color:#1890ff;text-shadow:0 0 2px #bae7ff}
|
||||
.ant-table-filter-dropdown-link{color:#1890ff}
|
||||
.ant-table-filter-dropdown-link:hover{color:#40a9ff}
|
||||
.ant-table-filter-dropdown-link:active{color:#096dd9}
|
||||
.ant-table-row-expand-icon{color:#1890ff}
|
||||
.ant-table-row-expand-icon:focus,.ant-table-row-expand-icon:hover{color:#40a9ff}
|
||||
.ant-table-row-expand-icon:active{color:#096dd9}
|
||||
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-active{color:#1890ff}
|
||||
.ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab-disabled{color:#1890ff}
|
||||
.ant-tabs-extra-content .ant-tabs-new-tab:hover{color:#1890ff;border-color:#1890ff}
|
||||
.ant-tabs .ant-tabs-card-bar.ant-tabs-bottom-bar .ant-tabs-tab-active{color:#1890ff}
|
||||
.ant-tabs-ink-bar{background-color:#1890ff}
|
||||
.ant-tabs-nav .ant-tabs-tab:hover{color:#40a9ff}
|
||||
.ant-tabs-nav .ant-tabs-tab:active{color:#096dd9}
|
||||
.ant-tabs-nav .ant-tabs-tab-active{color:#1890ff}
|
||||
.ant-tag-checkable:not(.ant-tag-checkable-checked):hover{color:#1890ff}
|
||||
.ant-tag-checkable-checked{background-color:#1890ff}
|
||||
.ant-tag-checkable:active{background-color:#096dd9}
|
||||
.ant-tag-blue{color:#1890ff;background:#e6f7ff;border-color:#91d5ff}
|
||||
.ant-tag-blue-inverse{background:#1890ff;border-color:#1890ff}
|
||||
.ant-time-picker-panel-select li:focus{color:#1890ff}
|
||||
.ant-time-picker-panel-select li:hover{background:#e6f7ff}
|
||||
.ant-time-picker-input:focus,.ant-time-picker-input:hover{border-color:#40a9ff}
|
||||
.ant-time-picker-input:focus{box-shadow:0 0 0 2px rgba(24,144,255,.2)}
|
||||
.ant-timeline-item-head-blue{color:#1890ff;border-color:#1890ff}
|
||||
.ant-transfer-list-content-item:not(.ant-transfer-list-content-item-disabled):hover{background-color:#e6f7ff}
|
||||
@-webkit-keyframes transferHighlightIn{0%{background:#bae7ff}}
|
||||
@keyframes transferHighlightIn{0%{background:#bae7ff}}
|
||||
.ant-tree.ant-tree-directory .ant-tree-child-tree>li span.ant-tree-node-content-wrapper:hover:before,.ant-tree.ant-tree-directory>li span.ant-tree-node-content-wrapper:hover:before{background:#e6f7ff}
|
||||
.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox .ant-tree-checkbox-inner{border-color:#1890ff}
|
||||
.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-checkbox.ant-tree-checkbox-checked .ant-tree-checkbox-inner:after{border-color:#1890ff}
|
||||
.ant-tree.ant-tree-directory .ant-tree-child-tree>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before,.ant-tree.ant-tree-directory>li.ant-tree-treenode-selected>span.ant-tree-node-content-wrapper:before{background:#1890ff}
|
||||
.ant-tree-checkbox-input:focus+.ant-tree-checkbox-inner,.ant-tree-checkbox-wrapper:hover .ant-tree-checkbox-inner,.ant-tree-checkbox:hover .ant-tree-checkbox-inner{border-color:#1890ff}
|
||||
.ant-tree-checkbox-checked:after{border:1px solid #1890ff}
|
||||
.ant-tree-checkbox-checked .ant-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}
|
||||
.ant-tree-checkbox-indeterminate .ant-tree-checkbox-inner:after{background-color:#1890ff}
|
||||
.ant-tree li.drag-over>span[draggable]{background-color:#1890ff}
|
||||
.ant-tree li.drag-over-gap-top>span[draggable]{border-top-color:#1890ff}
|
||||
.ant-tree li.drag-over-gap-bottom>span[draggable]{border-bottom-color:#1890ff}
|
||||
.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_close .ant-tree-switcher-loading-icon,.ant-tree li.ant-tree-treenode-loading span.ant-tree-switcher.ant-tree-switcher_open .ant-tree-switcher-loading-icon{color:#1890ff}
|
||||
.ant-tree li .ant-tree-node-content-wrapper:hover{background-color:#e6f7ff}
|
||||
.ant-tree li .ant-tree-node-content-wrapper.ant-tree-node-selected{background-color:#bae7ff}
|
||||
.ant-select-tree-checkbox-input:focus+.ant-select-tree-checkbox-inner,.ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,.ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner{border-color:#1890ff}
|
||||
.ant-select-tree-checkbox-checked:after{border:1px solid #1890ff}
|
||||
.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner{background-color:#1890ff;border-color:#1890ff}
|
||||
.ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner:after{background-color:#1890ff}
|
||||
.ant-select-tree li .ant-select-tree-node-content-wrapper:hover{background-color:#e6f7ff}
|
||||
.ant-select-tree li .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected{background-color:#bae7ff}
|
||||
.ant-select-tree li span.ant-select-icon_loading .ant-select-switcher-loading-icon{color:#1890ff}
|
||||
.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_close .ant-select-switcher-loading-icon,.ant-select-tree li span.ant-select-tree-switcher.ant-select-tree-switcher_open .ant-select-switcher-loading-icon{color:#1890ff}
|
||||
.ant-upload.ant-upload-select-picture-card:hover{border-color:#1890ff}
|
||||
.ant-upload.ant-upload-drag.ant-upload-drag-hover:not(.ant-upload-disabled){border-color:#096dd9}
|
||||
.ant-upload.ant-upload-drag:not(.ant-upload-disabled):hover{border-color:#40a9ff}
|
||||
.ant-upload.ant-upload-drag p.ant-upload-drag-icon .anticon{color:#40a9ff}
|
||||
.ant-upload-list-item:hover .ant-upload-list-item-info{background-color:#e6f7ff}
|
|
@ -1 +1 @@
|
|||
<!doctype html><html lang="zh-cmn-Hans"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="renderer" content="webkit"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><meta name="robots" content="noindex,nofollow"/><meta name="generator" content="Halo 1.5.1"/><link rel="icon" href="/favicon.ico"/><title>Halo</title><style>body {height: 100%;background-color: #f5f5f5;}#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><script defer="defer" src="/js/chunk-vendors.ab83c46c.js"></script><script defer="defer" src="/js/app.ea81c793.js"></script><link href="/css/chunk-vendors.e6958125.css" rel="stylesheet"><link href="/css/app.cfb56789.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but halo admin client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div id="loader"></div></div></body></html>
|
||||
<!doctype html><html lang="zh-cmn-Hans"><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="renderer" content="webkit"><meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"/><meta name="robots" content="noindex,nofollow"/><meta name="generator" content="Halo 1.5.2"/><link rel="icon" href="/favicon.ico"/><title>Halo</title><style>body {height: 100%;background-color: #f5f5f5;}#loader{position:absolute;top:0;right:0;bottom:0;left:0;margin:auto;border:solid 3px #e5e5e5;border-top-color:#333;border-radius:50%;width:30px;height:30px;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}</style><script defer="defer" src="/js/chunk-vendors.a8aac3e6.js"></script><script defer="defer" src="/js/app.8eac304f.js"></script><link href="/css/chunk-vendors.b8f03799.css" rel="stylesheet"><link href="/css/app.807e04c6.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but halo admin client doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"><div id="loader"></div></div></body></html>
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[229],{46229:function(t,e,a){a.r(e),a.d(e,{default:function(){return h}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-operator"},[a("a-button",{attrs:{type:"danger"},on:{click:t.handleClearActionLogs}},[t._v("清空操作日志")])],1),a("div",{staticClass:"mt-4"},[a("a-table",{attrs:{columns:t.list.columns,dataSource:t.list.data,loading:t.list.loading,pagination:!1,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"type",fn:function(e){return[t._v(" "+t._s(t._f("typeConvert")(e))+" ")]}},{key:"ipAddress",fn:function(e){return[a("div",{staticClass:"blur hover:blur-none transition-all"},[t._v(t._s(e))])]}},{key:"createTime",fn:function(e){return[a("a-tooltip",{attrs:{placement:"top"}},[a("template",{slot:"title"},[t._v(" "+t._s(t._f("moment")(e))+" ")]),t._v(" "+t._s(t._f("timeAgo")(e))+" ")],2)]}}])}),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1)],1)])],1)},i=[],s=a(29230),r=(a(41479),a(70315),a(64083)),o=a(62210),l=a(34069),c=[{title:"ID",dataIndex:"id"},{title:"类型",dataIndex:"type",scopedSlots:{customRender:"type"}},{title:"关键值",dataIndex:"logKey"},{title:"内容",dataIndex:"content"},{title:"IP",dataIndex:"ipAddress",scopedSlots:{customRender:"ipAddress"}},{title:"操作时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"}}],d={name:"ActionLog",components:{PageView:r.B4},data:function(){return{list:{columns:c,data:[],total:0,loading:!1,params:{page:0,size:50}}}},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}}},created:function(){this.handleListActionLogs()},methods:{handleListActionLogs:function(){var t=this;return(0,s.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,o.Z.log.list(t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),t.$log.error(e.t0);case 12:return e.prev=12,t.list.loading=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,9,12,15]])})))()},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListActionLogs()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListActionLogs()},handleClearActionLogs:function(){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"是否确定要清空所有操作日志?",onOk:function(){return(0,s.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.log.clear();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e["catch"](0),t.$log.error("Failed to clear action logs.",e.t0);case 8:return e.prev=8,e.next=11,t.handleListActionLogs();case 11:return e.finish(8);case 12:case"end":return e.stop()}}),e,null,[[0,5,8,12]])})))()}})}},filters:{typeConvert:function(t){var e=l.Js[t];return e?e.text:t}}},u=d,p=a(42177),g=(0,p.Z)(u,n,i,!1,null,null,null),h=g.exports}}]);
|
||||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[359],{79359:function(t,e,a){a.r(e),a.d(e,{default:function(){return h}});var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("page-view",[a("a-card",{attrs:{bodyStyle:{padding:"16px"},bordered:!1}},[a("div",{staticClass:"table-operator"},[a("a-button",{attrs:{type:"danger"},on:{click:t.handleClearActionLogs}},[t._v("清空操作日志")])],1),a("div",{staticClass:"mt-4"},[a("a-table",{attrs:{columns:t.list.columns,dataSource:t.list.data,loading:t.list.loading,pagination:!1,rowKey:function(t){return t.id},scrollToFirstRowOnChange:!0},scopedSlots:t._u([{key:"type",fn:function(e){return[t._v(" "+t._s(t._f("typeConvert")(e))+" ")]}},{key:"ipAddress",fn:function(e){return[a("div",{staticClass:"blur hover:blur-none transition-all"},[t._v(t._s(e))])]}},{key:"createTime",fn:function(e){return[a("a-tooltip",{attrs:{placement:"top"}},[a("template",{slot:"title"},[t._v(" "+t._s(t._f("moment")(e))+" ")]),t._v(" "+t._s(t._f("timeAgo")(e))+" ")],2)]}}])}),a("div",{staticClass:"page-wrapper"},[a("a-pagination",{staticClass:"pagination",attrs:{current:t.pagination.page,defaultPageSize:t.pagination.size,pageSizeOptions:["10","20","50","100"],total:t.pagination.total,showLessItems:"",showSizeChanger:""},on:{change:t.handlePageChange,showSizeChange:t.handlePageSizeChange}})],1)],1)])],1)},i=[],s=a(46519),r=(a(41479),a(70315),a(71101)),o=a(18608),l=a(84707),c=[{title:"ID",dataIndex:"id"},{title:"类型",dataIndex:"type",scopedSlots:{customRender:"type"}},{title:"关键值",dataIndex:"logKey"},{title:"内容",dataIndex:"content"},{title:"IP",dataIndex:"ipAddress",scopedSlots:{customRender:"ipAddress"}},{title:"操作时间",dataIndex:"createTime",scopedSlots:{customRender:"createTime"}}],d={name:"ActionLog",components:{PageView:r.B4},data:function(){return{list:{columns:c,data:[],total:0,loading:!1,params:{page:0,size:50}}}},computed:{pagination:function(){return{page:this.list.params.page+1,size:this.list.params.size,total:this.list.total}}},created:function(){this.handleListActionLogs()},methods:{handleListActionLogs:function(){var t=this;return(0,s.Z)(regeneratorRuntime.mark((function e(){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,t.list.loading=!0,e.next=4,o.Z.log.list(t.list.params);case 4:a=e.sent,t.list.data=a.data.content,t.list.total=a.data.total,e.next=12;break;case 9:e.prev=9,e.t0=e["catch"](0),t.$log.error(e.t0);case 12:return e.prev=12,t.list.loading=!1,e.finish(12);case 15:case"end":return e.stop()}}),e,null,[[0,9,12,15]])})))()},handlePageChange:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.list.params.page=t-1,this.handleListActionLogs()},handlePageSizeChange:function(t,e){this.$log.debug("Current: ".concat(t,", PageSize: ").concat(e)),this.list.params.page=0,this.list.params.size=e,this.handleListActionLogs()},handleClearActionLogs:function(){var t=this;t.$confirm({title:"提示",maskClosable:!0,content:"是否确定要清空所有操作日志?",onOk:function(){return(0,s.Z)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,o.Z.log.clear();case 3:e.next=8;break;case 5:e.prev=5,e.t0=e["catch"](0),t.$log.error("Failed to clear action logs.",e.t0);case 8:return e.prev=8,e.next=11,t.handleListActionLogs();case 11:return e.finish(8);case 12:case"end":return e.stop()}}),e,null,[[0,5,8,12]])})))()}})}},filters:{typeConvert:function(t){var e=l.Js[t];return e?e.text:t}}},u=d,p=a(42177),g=(0,p.Z)(u,n,i,!1,null,null,null),h=g.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[701],{99284:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[e.options.developer_mode?n("div",{staticClass:"card-container"},[n("a-tabs",{attrs:{type:"card"},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.panes,(function(t){return n("a-tab-pane",{key:t.key},[n("span",{attrs:{slot:"tab"},slot:"tab"},[n("a-icon",{attrs:{type:t.icon}}),e._v(e._s(t.title)+" ")],1),n(t.component,{tag:"component"})],1)})),1)],1):n("a-alert",{attrs:{description:"当前没有启用开发者选项,请启用之后再访问该页面!",message:"提示",showIcon:"",type:"error"}})],1)],1)],1)},i=[],a=n(94524),r=(n(31875),n(29888),n(45107),n(98906)),c=n(64083),s={components:{PageView:c.B4},data:function(){var e=[{title:"运行环境",icon:"safety",component:function(){return n.e(284).then(n.bind(n,9721))},key:"environment"},{title:"实时日志",icon:"code",component:function(){return Promise.all([n.e(742),n.e(192),n.e(164),n.e(457)]).then(n.bind(n,66457))},key:"runtimeLogs"},{title:"系统变量",icon:"table",component:function(){return n.e(105).then(n.bind(n,105))},key:"optionsList"},{title:"静态存储",icon:"cloud",component:function(){return Promise.all([n.e(742),n.e(177)]).then(n.bind(n,59177))},key:"staticStorage"},{title:"设置",icon:"setting",component:function(){return n.e(370).then(n.bind(n,86370))},key:"settings"}];return{activeKey:e[0].key,panes:e}},computed:(0,a.Z)({},(0,r.Se)(["options"])),beforeRouteEnter:function(e,t,n){var o=e.query.activeKey;n((function(e){o&&(e.activeKey=o)}))},watch:{activeKey:function(e){if(e){var t=this.$router.history.current.path;this.$router.push({path:t,query:{activeKey:e}}).catch((function(e){return e}))}}}},u=s,l=n(42177),p=(0,l.Z)(u,o,i,!1,null,null,null),y=p.exports}}]);
|
||||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[439],{68439:function(e,t,n){n.r(t),n.d(t,{default:function(){return y}});var o=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("page-view",[n("a-row",[n("a-col",{attrs:{span:24}},[e.options.developer_mode?n("div",{staticClass:"card-container"},[n("a-tabs",{attrs:{type:"card"},model:{value:e.activeKey,callback:function(t){e.activeKey=t},expression:"activeKey"}},e._l(e.panes,(function(t){return n("a-tab-pane",{key:t.key},[n("span",{attrs:{slot:"tab"},slot:"tab"},[n("a-icon",{attrs:{type:t.icon}}),e._v(e._s(t.title)+" ")],1),n(t.component,{tag:"component"})],1)})),1)],1):n("a-alert",{attrs:{description:"当前没有启用开发者选项,请启用之后再访问该页面!",message:"提示",showIcon:"",type:"error"}})],1)],1)],1)},i=[],a=n(92164),r=(n(31875),n(29888),n(45107),n(98906)),c=n(71101),s={components:{PageView:c.B4},data:function(){var e=[{title:"运行环境",icon:"safety",component:function(){return n.e(235).then(n.bind(n,2235))},key:"environment"},{title:"实时日志",icon:"code",component:function(){return Promise.all([n.e(807),n.e(192),n.e(164),n.e(793)]).then(n.bind(n,5793))},key:"runtimeLogs"},{title:"系统变量",icon:"table",component:function(){return n.e(674).then(n.bind(n,3674))},key:"optionsList"},{title:"静态存储",icon:"cloud",component:function(){return Promise.all([n.e(807),n.e(293)]).then(n.bind(n,88293))},key:"staticStorage"},{title:"设置",icon:"setting",component:function(){return n.e(728).then(n.bind(n,55988))},key:"settings"}];return{activeKey:e[0].key,panes:e}},computed:(0,a.Z)({},(0,r.Se)(["options"])),beforeRouteEnter:function(e,t,n){var o=e.query.activeKey;n((function(e){o&&(e.activeKey=o)}))},watch:{activeKey:function(e){if(e){var t=this.$router.history.current.path;this.$router.push({path:t,query:{activeKey:e}}).catch((function(e){return e}))}}}},u=s,l=n(42177),p=(0,l.Z)(u,o,i,!1,null,null,null),y=p.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +0,0 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[565],{9565:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container-wrapper animated fadeIn"},[e._m(0),s("div",{staticClass:"login-form"},[s("LoginForm",{on:{success:e.onLoginSucceed}}),e.resetPasswordButtonVisible?s("router-link",{staticClass:"tip",attrs:{to:{name:"ResetPassword"}}},[e._v(" 找回密码 ")]):e._e()],1)])},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"halo-logo"},[s("img",{attrs:{alt:"Halo Logo",src:"/images/logo.svg"}})])}],n=s(94524),i=s(98906),a=s(24130),u={components:{LoginForm:a.Z},data:function(){return{resetPasswordButtonVisible:!1}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterResetPasswordKeydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterResetPasswordKeydown)},methods:(0,n.Z)((0,n.Z)({},(0,i.nv)(["refreshUserCache","refreshOptionsCache"])),{},{onRegisterResetPasswordKeydown:function(e){72===e.keyCode&&(e.altKey||e.metaKey)&&e.shiftKey&&(e.preventDefault(),this.resetPasswordButtonVisible=!this.resetPasswordButtonVisible)},onLoginSucceed:function(){this.refreshUserCache(),this.refreshOptionsCache(),this.$route.query.redirect?this.$router.push(this.$route.query.redirect):this.$router.push({name:"Dashboard"})}})},c=u,d=s(42177),l=(0,d.Z)(c,o,r,!1,null,null,null),h=l.exports}}]);
|
|
@ -1 +1 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[981],{15981:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("exception-page",{attrs:{type:"404"}})},o=[],r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"exception"},[n("a-result",{attrs:{status:t.type,subTitle:t.config[t.type].desc,title:t.type},scopedSlots:t._u([{key:"extra",fn:function(){return[n("a-button",{attrs:{type:"primary"},on:{click:t.handleToHome}},[t._v("返回仪表盘")])]},proxy:!0}])})],1)},s=[],u={404:{desc:"抱歉,你访问的页面不存在"},500:{desc:"抱歉,服务器出错了"}},l=u,c={name:"Exception",props:{type:{type:String,default:"404"}},data:function(){return{config:l}},methods:{handleToHome:function(){this.$router.push({name:"Dashboard"})}}},i=c,p=n(42177),f=(0,p.Z)(i,r,s,!1,null,null,null),d=f.exports,h={components:{ExceptionPage:d}},m=h,y=(0,p.Z)(m,a,o,!1,null,null,null),x=y.exports}}]);
|
||||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[573],{60573:function(t,e,n){n.r(e),n.d(e,{default:function(){return x}});var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("exception-page",{attrs:{type:"404"}})},o=[],r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"exception"},[n("a-result",{attrs:{status:t.type,subTitle:t.config[t.type].desc,title:t.type},scopedSlots:t._u([{key:"extra",fn:function(){return[n("a-button",{attrs:{type:"primary"},on:{click:t.handleToHome}},[t._v("返回仪表盘")])]},proxy:!0}])})],1)},s=[],u={404:{desc:"抱歉,你访问的页面不存在"},500:{desc:"抱歉,服务器出错了"}},l=u,c={name:"Exception",props:{type:{type:String,default:"404"}},data:function(){return{config:l}},methods:{handleToHome:function(){this.$router.push({name:"Dashboard"})}}},i=c,p=n(42177),f=(0,p.Z)(i,r,s,!1,null,null,null),d=f.exports,h={components:{ExceptionPage:d}},m=h,y=(0,p.Z)(m,a,o,!1,null,null,null),x=y.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -1 +1 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[370],{86370:function(e,r,t){t.r(r),t.d(r,{default:function(){return v}});var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[t("a-form-item",{attrs:{label:"开发者选项:"}},[t("a-switch",{model:{value:e.options.developer_mode,callback:function(r){e.$set(e.options,"developer_mode",r)},expression:"options.developer_mode"}})],1),t("a-form-item",[t("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(r){e.errored=!1},click:e.handleSaveOptions}})],1)],1)},a=[],o=t(29230),s=t(94524),i=(t(30535),t(85018),t(70315),t(98906)),c=t(62210),l={name:"SettingsForm",data:function(){return{options:{},wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},saving:!1,errored:!1}},created:function(){this.handleListOptions()},methods:(0,s.Z)((0,s.Z)({},(0,i.nv)(["refreshOptionsCache"])),{},{handleListOptions:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function r(){var t,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c.Z.option.listAsMapViewByKeys(["developer_mode"]);case 3:t=r.sent,n=t.data,e.options=n,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](0),e.$log.error(r.t0);case 11:case"end":return r.stop()}}),r,null,[[0,8]])})))()},handleSaveOptions:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,e.saving=!0,r.next=4,c.Z.option.saveMapView(e.options);case 4:r.next=10;break;case 6:r.prev=6,r.t0=r["catch"](0),e.errored=!1,e.$log.error(r.t0);case 10:return r.prev=10,setTimeout((function(){e.saving=!1}),400),r.next=14,e.handleListOptions();case 14:return r.next=16,e.refreshOptionsCache();case 16:if(e.options.developer_mode){r.next=19;break}return r.next=19,e.$router.replace({name:"ToolList"});case 19:return r.finish(10);case 20:case"end":return r.stop()}}),r,null,[[0,6,10,20]])})))()}})},p=l,u=t(42177),d=(0,u.Z)(p,n,a,!1,null,null,null),v=d.exports}}]);
|
||||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[728],{55988:function(e,r,t){t.r(r),t.d(r,{default:function(){return v}});var n=function(){var e=this,r=e.$createElement,t=e._self._c||r;return t("a-form",{attrs:{wrapperCol:e.wrapperCol,layout:"vertical"}},[t("a-form-item",{attrs:{label:"开发者选项:"}},[t("a-switch",{model:{value:e.options.developer_mode,callback:function(r){e.$set(e.options,"developer_mode",r)},expression:"options.developer_mode"}})],1),t("a-form-item",[t("ReactiveButton",{attrs:{errored:e.errored,loading:e.saving,erroredText:"保存失败",loadedText:"保存成功",text:"保存",type:"primary"},on:{callback:function(r){e.errored=!1},click:e.handleSaveOptions}})],1)],1)},a=[],o=t(46519),s=t(92164),i=(t(30535),t(85018),t(70315),t(98906)),c=t(18608),l={name:"SettingsForm",data:function(){return{options:{},wrapperCol:{xl:{span:8},lg:{span:8},sm:{span:12},xs:{span:24}},saving:!1,errored:!1}},created:function(){this.handleListOptions()},methods:(0,s.Z)((0,s.Z)({},(0,i.nv)(["refreshOptionsCache"])),{},{handleListOptions:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function r(){var t,n;return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,r.next=3,c.Z.option.listAsMapViewByKeys(["developer_mode"]);case 3:t=r.sent,n=t.data,e.options=n,r.next=11;break;case 8:r.prev=8,r.t0=r["catch"](0),e.$log.error(r.t0);case 11:case"end":return r.stop()}}),r,null,[[0,8]])})))()},handleSaveOptions:function(){var e=this;return(0,o.Z)(regeneratorRuntime.mark((function r(){return regeneratorRuntime.wrap((function(r){while(1)switch(r.prev=r.next){case 0:return r.prev=0,e.saving=!0,r.next=4,c.Z.option.saveMapView(e.options);case 4:r.next=10;break;case 6:r.prev=6,r.t0=r["catch"](0),e.errored=!1,e.$log.error(r.t0);case 10:return r.prev=10,setTimeout((function(){e.saving=!1}),400),r.next=14,e.handleListOptions();case 14:return r.next=16,e.refreshOptionsCache();case 16:if(e.options.developer_mode){r.next=19;break}return r.next=19,e.$router.replace({name:"ToolList"});case 19:return r.finish(10);case 20:case"end":return r.stop()}}),r,null,[[0,6,10,20]])})))()}})},p=l,u=t(42177),d=(0,u.Z)(p,n,a,!1,null,null,null),v=d.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -0,0 +1 @@
|
|||
"use strict";(self["webpackChunkhalo_admin"]=self["webpackChunkhalo_admin"]||[]).push([[877],{50877:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var o=function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"container-wrapper animated fadeIn"},[e._m(0),s("div",{staticClass:"login-form"},[s("LoginForm",{on:{success:e.onLoginSucceed}}),e.resetPasswordButtonVisible?s("router-link",{staticClass:"tip",attrs:{to:{name:"ResetPassword"}}},[e._v(" 找回密码 ")]):e._e()],1)])},r=[function(){var e=this,t=e.$createElement,s=e._self._c||t;return s("div",{staticClass:"halo-logo"},[s("img",{attrs:{alt:"Halo Logo",src:"/images/logo.svg"}})])}],n=s(92164),i=s(98906),a=s(39441),u={components:{LoginForm:a.Z},data:function(){return{resetPasswordButtonVisible:!1}},beforeMount:function(){document.addEventListener("keydown",this.onRegisterResetPasswordKeydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.onRegisterResetPasswordKeydown)},methods:(0,n.Z)((0,n.Z)({},(0,i.nv)(["refreshUserCache","refreshOptionsCache"])),{},{onRegisterResetPasswordKeydown:function(e){72===e.keyCode&&(e.altKey||e.metaKey)&&e.shiftKey&&(e.preventDefault(),this.resetPasswordButtonVisible=!this.resetPasswordButtonVisible)},onLoginSucceed:function(){this.refreshUserCache(),this.refreshOptionsCache(),this.$route.query.redirect?this.$router.push(this.$route.query.redirect):this.$router.push({name:"Dashboard"})}})},c=u,d=s(42177),l=(0,d.Z)(c,o,r,!1,null,null,null),h=l.exports}}]);
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue