西海岸BUG修改

This commit is contained in:
a0049873 2022-11-30 14:45:19 +08:00
parent 818e6e5dc9
commit fe0b29a9fa
1 changed files with 1 additions and 4 deletions

View File

@ -134,6 +134,7 @@
}, },
// //
applyNow(item){ applyNow(item){
console.log(item)
getApplyCameraListXha().then(res => { getApplyCameraListXha().then(res => {
let flag = true let flag = true
if (res.data.code == 0) { if (res.data.code == 0) {
@ -152,10 +153,6 @@
if(flag){ if(flag){
willApplyCameraSelect().then(res1 => { willApplyCameraSelect().then(res1 => {
if (res1.data.code == 0) { if (res1.data.code == 0) {
if(res.data.data.length+res1.data.data.length>=10){
message.warning('最多只能申请10个感知资源')
return
}
res1.data.data.map(val => { res1.data.data.map(val => {
if(item.channelId == val.channelId){ if(item.channelId == val.channelId){
item.id = val.id item.id = val.id