mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-05 09:00:20 +00:00
用更友好的交互替换alert
This commit is contained in:
1 parent
661fd6e534
commit
e6434e70f0
2 files changed
+16
-3
No files matched your search
@@ -99,7 +99,7 @@
|
||||
methods: {
|
||||
secondToDate(s) {
|
||||
var d = Math.floor(s / 3600 / 24);
|
||||
var h = Math.floor(s / 3600);
|
||||
var h = Math.floor(s / 3600 % 24);
|
||||
var m = Math.floor((s / 60 % 60));
|
||||
var s = Math.floor((s % 60));
|
||||
return result = d + "天" + h + "小时" + m + "分钟" + s + "秒";
|
||||
|
||||
Reference in new issue
Block a user