|
@@ -852,15 +852,12 @@ const delClickLoading = ref(false)
|
|
|
const delClick = async ({ pKeyId }, index) => {
|
|
|
const pkeyIds = getValString(pKeyId)
|
|
|
if (pkeyIds) {
|
|
|
- const { id } = baseData.value
|
|
|
delClickLoading.value = true
|
|
|
const { error, code, msg } = await dataApi.removeBussTabInfo({
|
|
|
- // id: id,
|
|
|
pKeyId: pkeyIds,
|
|
|
})
|
|
|
if (!error && code === 200) {
|
|
|
window?.$message?.success('操作成功')
|
|
|
- // renewData(id)
|
|
|
listDatas.value.splice(index, 1)
|
|
|
formData.value.splice(index, 1)
|
|
|
chageOrinData()
|