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)
},
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) {
that.$message({
message: '盘仓类型不能相同',
type: 'warning'
})
return
}
// 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({
// message: '盘仓类型不能相同',
// type: 'warning'
// })
// return
// }
that.$store
.dispatch('chat/websocketsend', that.changeCD)
.then(() => {