|
|
|
|
@ -987,7 +987,7 @@ const getShildTableList = () => {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// 障碍物列表
|
|
|
|
|
const tableData1 = ref([])
|
|
|
|
|
const tableData1 = ref([{Lon:1},{Lon:2}])
|
|
|
|
|
// 上传图片
|
|
|
|
|
const uploadRef = ref(null)
|
|
|
|
|
const uploadFiles = async (e) => {
|
|
|
|
|
@ -1032,10 +1032,12 @@ const dialogImageUrl = ref('')
|
|
|
|
|
const imgDialog = ref(false)
|
|
|
|
|
// 删除
|
|
|
|
|
const delPoint = (e) => {
|
|
|
|
|
// tableData1.value.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1);
|
|
|
|
|
let arr = JSON.parse(JSON.stringify(tableData1.value))
|
|
|
|
|
arr.splice((currentPage1.value - 1) * pageSize1.value + e.$index, 1);
|
|
|
|
|
tableData1.value = arr ||[]
|
|
|
|
|
if(e.index ===dotIndex.value ){
|
|
|
|
|
if((currentPage1.value - 1) * pageSize1.value + e.$index === dotIndex.value ){
|
|
|
|
|
console.log(123)
|
|
|
|
|
dotIndex.value = -1
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
@ -1366,7 +1368,7 @@ onMounted(() => {
|
|
|
|
|
getSocket()
|
|
|
|
|
getOption()
|
|
|
|
|
getShildTableList()
|
|
|
|
|
// testFun()
|
|
|
|
|
testFun()
|
|
|
|
|
getDotsData()
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|