Procházet zdrojové kódy

事件列表搜索

彭宇 před 2 roky
rodič
revize
d2fce1c49d
3 změnil soubory, kde provedl 1 přidání a 4 odebrání
  1. 1 2
      src/views/date.vue
  2. 0 1
      src/views/eventdetailsdialog.vue
  3. 0 1
      src/views/forest.vue

+ 1 - 2
src/views/date.vue

@@ -112,7 +112,7 @@ import {
 			//未来日期是否不可点击
 			disabledAfter: {
 				type: Boolean,
-				default: false,
+				default: true,
 			},
 			// 默认选中日期
 			selectDate: {
@@ -347,7 +347,6 @@ import {
 				if (selectD > curTime) {
 					if (this.disabledAfter) {
 						console.log("未来日期不可选");
-
 						return false;
 					} else {
 						this.choose = date;

+ 0 - 1
src/views/eventdetailsdialog.vue

@@ -279,7 +279,6 @@ export default {
       let canvasBox = document.getElementById('forestWarmSuperMap')
       let toolbar=document.getElementById('toolbar');
       canvasBox.removeChild(toolbar);
-      console.log(canvasBox)
       // 获取父级的宽高
       const width = parseInt(window.getComputedStyle(canvasBox).width)
       const height = parseInt(window.getComputedStyle(canvasBox).height)

+ 0 - 1
src/views/forest.vue

@@ -1007,7 +1007,6 @@ export default {
             })
             this.ws.on('loginState', (res) => {
               this.isLogin = res
-              console.log('---res-----', res)
               if (res) {
                 this.alertLoginSuccess()
                 this.activePanel = 'key2'