Refactor code to update version numbers and fix bugs in Gangguan and Monalisa components
This commit is contained in:
@@ -1194,7 +1194,7 @@ const dialogDetail = ref(false)
|
||||
const closedialogDetail = () => (dialogDetail.value = false)
|
||||
const loadingData = ref(false)
|
||||
const loadingSubData = ref(false)
|
||||
const agreeToShowDialog = ref(false)
|
||||
const isDialogEnabled = ref(false)
|
||||
const groupIndex = ref(0)
|
||||
const groupDialog = ref(false)
|
||||
const groupData = ref<any>(null)
|
||||
@@ -1277,9 +1277,9 @@ const setParameterRequest = (data: any) => {
|
||||
parameterRequest.value = data
|
||||
const parameter = parameterRequest.value
|
||||
if (parameter.type != null) {
|
||||
agreeToShowDialog.value = true
|
||||
isDialogEnabled.value = true
|
||||
} else {
|
||||
agreeToShowDialog.value = false
|
||||
isDialogEnabled.value = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1380,7 +1380,7 @@ const clearSelection = () => {
|
||||
const showDetail = () => {
|
||||
clearSelection()
|
||||
dataSubSelected.value = null
|
||||
if (agreeToShowDialog.value) {
|
||||
if (isDialogEnabled.value) {
|
||||
getDetail()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user