mirror of
https://github.com/NapNeko/NapCatQQ.git
synced 2026-02-13 00:10:27 +00:00
refactor: webui network
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user