Commit 90177f99 by yancanhua

fix: 测试问题修改

1 parent 87d06759
...@@ -636,7 +636,8 @@ export default class AuctionVehiclePage extends Vue { ...@@ -636,7 +636,8 @@ export default class AuctionVehiclePage extends Vue {
// 代码请求优化 // 代码请求优化
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
if (this.auctionVehicle.auctionState === 'SOLD' && this.$auth.isLogin() && currentPage.route == 'module/auction/AuctionVehiclePage') { //this.auctionVehicle.auctionState === 'SOLD' &&
if (this.$auth.isLogin() && currentPage.route == 'module/auction/AuctionVehiclePage') {
this.intervalId = setInterval(() => { this.intervalId = setInterval(() => {
AuctionOrderController.getAuctionOrderByVehicleId(this.axios, this.vehicle.vehicleId).then(res => { AuctionOrderController.getAuctionOrderByVehicleId(this.axios, this.vehicle.vehicleId).then(res => {
if (res.data > 0) { if (res.data > 0) {
......
...@@ -372,6 +372,11 @@ export default class roundBidBottom extends Vue { ...@@ -372,6 +372,11 @@ export default class roundBidBottom extends Vue {
if (newTime && this.newRemainSecond != newTime && this.newRemainSecond < (newTime - 1)) { if (newTime && this.newRemainSecond != newTime && this.newRemainSecond < (newTime - 1)) {
this.newRemainSecond = newTime; this.newRemainSecond = newTime;
} }
if (newTime && this.newRemainSecond != newTime && (Number(this.newRemainSecond) - 3) > newTime) {
this.newRemainSecond = newTime;
}
if (this.pageData.remainSecond && !this.pageData.over) { if (this.pageData.remainSecond && !this.pageData.over) {
const pages = getCurrentPages(); const pages = getCurrentPages();
const currentPage = pages[pages.length - 1]; const currentPage = pages[pages.length - 1];
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!