西海岸BUG修改
This commit is contained in:
parent
818e6e5dc9
commit
fe0b29a9fa
|
@ -134,6 +134,7 @@
|
|||
},
|
||||
//立即申请
|
||||
applyNow(item){
|
||||
console.log(item)
|
||||
getApplyCameraListXha().then(res => {
|
||||
let flag = true
|
||||
if (res.data.code == 0) {
|
||||
|
@ -152,10 +153,6 @@
|
|||
if(flag){
|
||||
willApplyCameraSelect().then(res1 => {
|
||||
if (res1.data.code == 0) {
|
||||
if(res.data.data.length+res1.data.data.length>=10){
|
||||
message.warning('最多只能申请10个感知资源!')
|
||||
return
|
||||
}
|
||||
res1.data.data.map(val => {
|
||||
if(item.channelId == val.channelId){
|
||||
item.id = val.id
|
||||
|
|
Loading…
Reference in New Issue