|
|
@ -1,5 +1,4 @@ |
|
|
|
<script lang="ts" setup> |
|
|
|
import { ElMessageBox } from 'element-plus' |
|
|
|
import { useHomeStore } from 'stores/homeStore' |
|
|
|
import { computed, onMounted, ref } from 'vue' |
|
|
|
|
|
|
@ -48,14 +47,6 @@ const onChangeDate = async (value: string) => { |
|
|
|
if (res.ackcode === 0) { |
|
|
|
FtMessage.success('日期设置成功') |
|
|
|
systemStore.getSystemTime() |
|
|
|
ElMessageBox.confirm('日期和时间已变更, 请重启设备!', '提示', { |
|
|
|
confirmButtonText: '确认', |
|
|
|
showClose: false, |
|
|
|
showCancelButton: false, |
|
|
|
closeOnClickModal: false, |
|
|
|
closeOnPressEscape: false, |
|
|
|
type: 'warning', |
|
|
|
}) |
|
|
|
} |
|
|
|
}) |
|
|
|
} |
|
|
|