he2802 3 år sedan
förälder
incheckning
d6a3b0f54a
2 ändrade filer med 2 tillägg och 1 borttagningar
  1. 1 1
      common/request.js
  2. 1 0
      pages/index/index.vue

+ 1 - 1
common/request.js

@@ -4,7 +4,7 @@ import store from '@/store/index.js'
 import api from './api.js'
 var num = 1
 
-export const BASE_URL = 'http://192.168.1.222:5055' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
+export const BASE_URL = 'http://42.192.164.187:19005' //接口api  http://42.192.164.187:19005 http://192.168.1.222:5055
 
 
 export const BASE_IMG_URL = 'https://file-dev.xyyxt.net/' //图片上传api  'https://file.xyyxt.net/

+ 1 - 0
pages/index/index.vue

@@ -286,6 +286,7 @@ export default {
 			var arr = [];
 			let date = new Date();
 			let num = date.getDate();
+			this.date_num = []
 			for (var i = 0; i < 7; i++) {
 				let item = { date: d.getDate() };
 				item.color = 0;