This commit is contained in:
wanglei
2021-11-22 14:20:33 +08:00
parent 7e325c0d40
commit faeb74b3bb
2 changed files with 2 additions and 2 deletions

View File

@@ -72,7 +72,7 @@
import {add, detail, read} from "./components"
export default {
name: "notification",
name: "AppNotification",
appName: "通知公告",
components: {AiAdd, AiEmpty, AiTopFixed, add, detail, read},
data() {

View File

@@ -113,7 +113,7 @@
methods: {
confirm(e){
const date = new Date(e.value);
if(e.value< (Date.now()/1000)|0){
if(e.value< (Date.now())|0){
return this.$u.toast("发送时间不能小于当前时间");
}
const year = date.getFullYear();