代码优化

This commit is contained in:
BianLzhaoMin 2024-08-16 09:54:01 +08:00
parent 5c3775bab3
commit e7bb808d5b
2 changed files with 2 additions and 2 deletions

View File

@ -262,9 +262,9 @@ export default {
).then(async () => { ).then(async () => {
// 1. 01 03 // 1. 01 03
this.$message.closeAll() this.$message.closeAll()
let isFlag = false
try { try {
// 1.1 // 1.1
let isFlag = false
if (this.settleTableData_01.length > 0) { if (this.settleTableData_01.length > 0) {
this.settleTableData_01.map((e, v) => { this.settleTableData_01.map((e, v) => {
if (!e.endTime) { if (!e.endTime) {

View File

@ -13,7 +13,7 @@ export default {
}, },
created() { created() {
const origin = window.location.origin const origin = window.location.origin
if (origin == 'http://112.29.103.165:21626') { if (origin == 'http://192.168.0.56:21626') {
this.jumpUrl = origin this.jumpUrl = origin
} else { } else {
this.jumpUrl = 'http://192.168.0.14:18866' this.jumpUrl = 'http://192.168.0.14:18866'