提交
This commit is contained in:
@@ -72,7 +72,7 @@
|
|||||||
import {add, detail, read} from "./components"
|
import {add, detail, read} from "./components"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "notification",
|
name: "AppNotification",
|
||||||
appName: "通知公告",
|
appName: "通知公告",
|
||||||
components: {AiAdd, AiEmpty, AiTopFixed, add, detail, read},
|
components: {AiAdd, AiEmpty, AiTopFixed, add, detail, read},
|
||||||
data() {
|
data() {
|
||||||
|
|||||||
@@ -113,7 +113,7 @@
|
|||||||
methods: {
|
methods: {
|
||||||
confirm(e){
|
confirm(e){
|
||||||
const date = new Date(e.value);
|
const date = new Date(e.value);
|
||||||
if(e.value< (Date.now()/1000)|0){
|
if(e.value< (Date.now())|0){
|
||||||
return this.$u.toast("发送时间不能小于当前时间");
|
return this.$u.toast("发送时间不能小于当前时间");
|
||||||
}
|
}
|
||||||
const year = date.getFullYear();
|
const year = date.getFullYear();
|
||||||
|
|||||||
Reference in New Issue
Block a user