提交
This commit is contained in:
		@@ -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() {
 | 
			
		||||
 
 | 
			
		||||
@@ -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();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user