refactor: webui network

This commit is contained in:
pk5ls20
2024-11-16 05:43:44 +08:00
parent fea65b73cd
commit 76469f950a
11 changed files with 456 additions and 414 deletions

View File

@@ -22,21 +22,9 @@
</template>
<script setup lang="ts">
import { ref } from 'vue';
interface HttpClientConfig {
url: string;
messagePostFormat: string;
reportSelfMessage: boolean;
token: string;
debug: boolean;
}
const config = ref<HttpClientConfig>({
url: '',
messagePostFormat: '',
reportSelfMessage: false,
token: '',
debug: false,
});
import { defineProps } from 'vue';
import { HttpClientConfig } from '../../../../src/onebot/config/config';
defineProps<{
config: HttpClientConfig;
}>();
</script>