Merge branch 'master' of gitea.release11.com:R11/release11-tools into release
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import RestMockMessageComponent from '@components/mock/RestMockMessageComponent.vue'
|
||||
import HistoryComponent from '@components/mock/HistoryComponent.vue'
|
||||
<<<<<<< HEAD
|
||||
|
||||
</script>
|
||||
|
||||
@@ -9,6 +10,31 @@ import HistoryComponent from '@components/mock/HistoryComponent.vue'
|
||||
<div class="flex flex-col xl:flex-row gap-6 w-full overflow-y-scroll overflow-x-hidden h-full">
|
||||
<RestMockMessageComponent></RestMockMessageComponent>
|
||||
<HistoryComponent></HistoryComponent>
|
||||
=======
|
||||
import ManTooltipComponent from '@/components/man/ManTooltipComponent.vue';
|
||||
import RestMockManComponent from '@/components/man/RestMockManComponent.vue';
|
||||
import { ref } from 'vue';
|
||||
|
||||
|
||||
const historyVisibility = ref(true);
|
||||
|
||||
function setHistoryVisibility(visibility : boolean) {
|
||||
historyVisibility.value = !visibility;
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="flex flex-col xl:flex-row gap-6 w-full overflow-y-auto overflow-x-hidden h-full">
|
||||
<RestMockMessageComponent></RestMockMessageComponent>
|
||||
<HistoryComponent :class="{'hidden': !historyVisibility}"></HistoryComponent>
|
||||
<ManTooltipComponent @update:visible="setHistoryVisibility">
|
||||
<div class="mt-2">
|
||||
<a class="tool-button" href="/man/rest-mock">Expand</a>
|
||||
</div>
|
||||
<RestMockManComponent></RestMockManComponent>
|
||||
</ManTooltipComponent>
|
||||
>>>>>>> 307e732608fca31b60027b417412691ff0e1c2f0
|
||||
</div>
|
||||
</template>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user