bug修复

This commit is contained in:
24kycj
2025-03-25 11:23:53 +08:00
parent a673f08d7f
commit a918dfe4e3
+7 -7
View File
@@ -895,13 +895,13 @@ export default {
that.changeCD.req_info.strong_list[type - 1].strong_type = parseInt(e) that.changeCD.req_info.strong_list[type - 1].strong_type = parseInt(e)
}, },
sureCD() { sureCD() {
if (that.changeCD.req_info.strong_list[0]&&that.changeCD.req_info.strong_list[1]&&that.changeCD.req_info.strong_list[0].strong_type == that.changeCD.req_info.strong_list[1].strong_type) { // if (that.changeCD.req_info.strong_list[0]&&that.changeCD.req_info.strong_list[1]&&that.changeCD.req_info.strong_list[0].strong_type == that.changeCD.req_info.strong_list[1].strong_type) {
that.$message({ // that.$message({
message: '盘仓类型不能相同', // message: '盘仓类型不能相同',
type: 'warning' // type: 'warning'
}) // })
return // return
} // }
that.$store that.$store
.dispatch('chat/websocketsend', that.changeCD) .dispatch('chat/websocketsend', that.changeCD)
.then(() => { .then(() => {