refactor: webui network
This commit is contained in:
1 parent
fea65b73cd
commit
76469f950a
11 files changed
+456
-414
No files matched your search
@@ -25,23 +25,9 @@
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { ref } from 'vue';
|
||||
|
||||
interface WsClientConfig {
|
||||
url: string;
|
||||
messagePostFormat: string;
|
||||
reportSelfMessage: boolean;
|
||||
token: string;
|
||||
debug: boolean;
|
||||
heartInterval: number;
|
||||
}
|
||||
|
||||
const config = ref<WsClientConfig>({
|
||||
url: '',
|
||||
messagePostFormat: '',
|
||||
reportSelfMessage: false,
|
||||
token: '',
|
||||
debug: false,
|
||||
heartInterval: 0,
|
||||
});
|
||||
import { defineProps } from 'vue';
|
||||
import { WebsocketClientConfig } from '../../../../src/onebot/config/config';
|
||||
defineProps<{
|
||||
config: WebsocketClientConfig;
|
||||
}>();
|
||||
</script>
|
||||
Reference in new issue
Block a user