mirror of
https://github.com/kuaifan/dootask.git
synced 2025-12-12 19:35:50 +00:00
no message
This commit is contained in:
parent
7df9c37850
commit
36f313380e
@ -1064,7 +1064,7 @@ class SystemController extends AbstractController
|
||||
* @apiGroup system
|
||||
* @apiName get__updatelog
|
||||
*
|
||||
* @apiParam {Number} [take] 获取数量,10-100
|
||||
* @apiParam {Number} [take] 获取数量:10-100(留空默认:50)
|
||||
*
|
||||
* @apiSuccess {Number} ret 返回状态码(1正确、0错误)
|
||||
* @apiSuccess {String} msg 返回信息(错误描述)
|
||||
@ -1072,7 +1072,7 @@ class SystemController extends AbstractController
|
||||
*/
|
||||
public function get__updatelog()
|
||||
{
|
||||
$take = min(100, max(10, intval(Request::input('take'))));
|
||||
$take = min(100, max(10, intval(Request::input('take', 50))));
|
||||
$logPath = base_path('CHANGELOG.md');
|
||||
$logVersion = "";
|
||||
$logContent = "";
|
||||
@ -1090,7 +1090,7 @@ class SystemController extends AbstractController
|
||||
if ($logResults) {
|
||||
$logVersion = $logResults[0]['title'];
|
||||
$logContent = implode("\n", array_map(function($item) {
|
||||
return "## " . $item['title'] . $item['content'];
|
||||
return "## [{$item['title']}]" . $item['content'];
|
||||
}, $logResults));
|
||||
}
|
||||
return Base::retSuccess('success', [
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -40,7 +40,7 @@ export default {
|
||||
this.$store.dispatch("call", {
|
||||
url: 'system/get/updatelog',
|
||||
data: {
|
||||
take: 20
|
||||
take: 50
|
||||
}
|
||||
}).then(({data}) => {
|
||||
this.updateLog = data.updateLog;
|
||||
|
||||
@ -1405,7 +1405,7 @@
|
||||
> span {
|
||||
flex: 1;
|
||||
height: 1px;
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
background-color: rgba(120, 120, 120, 0.2);
|
||||
transform: scaleY(0.5);
|
||||
min-width: 18px;
|
||||
}
|
||||
@ -1767,6 +1767,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.content-divider {
|
||||
> span {
|
||||
background-color: rgba(255, 255, 255, 0.2);
|
||||
}
|
||||
}
|
||||
|
||||
.mention {
|
||||
color: $primary-title-color;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Subproject commit f88e40036e465a609b91c6221d77d556e08f48df
|
||||
Subproject commit 65aaf080fc2b6294b2ba043500ed0beed4a1c5eb
|
||||
Loading…
x
Reference in New Issue
Block a user