美化+命令修复

This commit is contained in:
zhbaor 2024-09-23 19:42:56 +08:00
parent 32496af392
commit ec44c5c9ad
8 changed files with 35 additions and 24 deletions

View file

@ -8,8 +8,6 @@ const loading = ref(true)
const page = ref(null)
function load_config() {
console.log('load_config')
console.log(pywebview)
pywebview.api.get_page().then((value) => {
page.value = value
loading.value = false
@ -50,7 +48,7 @@ provide('steps', steps)
</script>
<template>
<n-config-provider :theme="darkTheme" :locale="zhCN" :dateLocale="dateZhCN">
<n-config-provider :locale="zhCN" :dateLocale="dateZhCN">
<n-spin v-if="loading" class="container">
<template #description>加载中</template>
</n-spin>