合并代码
This commit is contained in:
@@ -290,6 +290,16 @@ export default {
|
|||||||
window.addEventListener('autoStartMatching', handleAutoStartMatching)
|
window.addEventListener('autoStartMatching', handleAutoStartMatching)
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
formatDeadline(deadlineString) {
|
||||||
|
// 根据需要的格式进行处理,示例:
|
||||||
|
return new Date(deadlineString).toLocaleString('zh-CN', {
|
||||||
|
year: 'numeric',
|
||||||
|
month: '2-digit',
|
||||||
|
day: '2-digit',
|
||||||
|
hour: '2-digit',
|
||||||
|
minute: '2-digit'
|
||||||
|
});
|
||||||
|
},
|
||||||
handleAutoStartFromHome() {
|
handleAutoStartFromHome() {
|
||||||
// 获取路由查询参数
|
// 获取路由查询参数
|
||||||
const { autoStart, type, amount } = this.$route.query
|
const { autoStart, type, amount } = this.$route.query
|
||||||
|
|||||||
Reference in New Issue
Block a user