修复地震发生日期显示错误的BUG (#512)
This commit is contained in:
parent
e51d8f0d98
commit
10d96701b2
|
|
@ -2027,4 +2027,4 @@ type,必选,目前支持两种,`hot` 代表热门游记,`latest` 代表
|
|||
|
||||
路由: `/earthquake`
|
||||
|
||||
参数: 无
|
||||
参数: 无(提示:可通过全局过滤参数订阅您感兴趣的地区)
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@ module.exports = async (ctx) => {
|
|||
const info = [
|
||||
$($scriptEls[0])
|
||||
.html()
|
||||
.match(/,"(.+)"/)[1],
|
||||
.match(/origTime\("(.+分)/)[1],
|
||||
$($scriptEls[1])
|
||||
.html()
|
||||
.match(/"(.+)"/)[1] + ', ',
|
||||
|
|
|
|||
Loading…
Reference in New Issue