|
@@ -280,10 +280,10 @@ export default {
|
|
|
//地图
|
|
|
this.getMapByPerson();
|
|
|
let _this = this;
|
|
|
- // setInterval(function () {
|
|
|
- // _this.money += Math.round(Math.random() * 100);
|
|
|
- // _this.peopleNum += Math.round(Math.random() * 100);
|
|
|
- // }, 3000)
|
|
|
+ setInterval(function () {
|
|
|
+ _this.money += Math.round(Math.random() * 100);
|
|
|
+ _this.peopleNum += Math.round(Math.random() * 100);
|
|
|
+ }, 3000)
|
|
|
},
|
|
|
created() {
|
|
|
// this.selectShipRoute()
|