Sometimes we need to pass today, yesterday, and nearly 7 days (year, month, day, hour, minute, second) to the backend as parameters, as shown in the figure below: How to
generate these times? In the following code, the toDay method, yesterDay method, and weekDay method in methods are used to generate the time of today, yesterday, and the last 7 days respectively:
<template>
<div class="box">
<el-radio-group v-