diff --git a/src/apps/AppNotification/AppNotification.vue b/src/apps/AppNotification/AppNotification.vue index e26f26ae..7ea56ca9 100644 --- a/src/apps/AppNotification/AppNotification.vue +++ b/src/apps/AppNotification/AppNotification.vue @@ -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() { diff --git a/src/apps/AppNotification/components/add.vue b/src/apps/AppNotification/components/add.vue index 5d2ea1b2..d53b374b 100644 --- a/src/apps/AppNotification/components/add.vue +++ b/src/apps/AppNotification/components/add.vue @@ -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();