Fixed tooltip's JSON import
This commit is contained in:
@@ -40,14 +40,14 @@ function deleteHeader(index : string){
|
|||||||
|
|
||||||
function addNewHeader(name : string, value : string){
|
function addNewHeader(name : string, value : string){
|
||||||
if (headerData.value == undefined)
|
if (headerData.value == undefined)
|
||||||
return
|
return;
|
||||||
|
|
||||||
if (isNewHeaderEmpty()) return;
|
if (isNewHeaderEmpty()) return;
|
||||||
|
|
||||||
headerData!.value[name] = value;
|
headerData.value[name] = value;
|
||||||
newHeaderName.value = "";
|
newHeaderName.value = "";
|
||||||
newHeaderValue.value = "";
|
newHeaderValue.value = "";
|
||||||
emit('update:httpHeaders',headerData.value)
|
emit('update:httpHeaders',headerData.value);
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { ref } from 'vue';
|
import { ref } from 'vue';
|
||||||
import tooltipCategoryComponent from '@components/xml/tooltips/TooltipCategoryComponent.vue'
|
import tooltipCategoryComponent from '@components/xml/tooltips/TooltipCategoryComponent.vue';
|
||||||
import tooltipEntryComponent from '@components/xml/tooltips/TooltipEntryComponent.vue'
|
import tooltipEntryComponent from '@components/xml/tooltips/TooltipEntryComponent.vue';
|
||||||
|
|
||||||
import xpath1 from '@assets/tooltips/xpath/xpath1.json'
|
import xpath1 from '@/assets/tooltips/xpath/xpath1.json';
|
||||||
import xpath2 from '@assets/tooltips/xpath/xpath2.json'
|
import xpath2 from '@/assets/tooltips/xpath/xpath2.json';
|
||||||
import { watch } from 'vue';
|
|
||||||
|
|
||||||
const props = defineProps({
|
const props = defineProps({
|
||||||
version: {
|
version: {
|
||||||
|
|||||||
Reference in New Issue
Block a user