🔊 完善基础页面的 log #83

This commit is contained in:
目棃
2024-01-23 18:20:23 +08:00
parent 150755cbef
commit 8aaf18dbe2
15 changed files with 167 additions and 70 deletions

View File

@@ -4,7 +4,9 @@
</div>
</template>
<script lang="ts" setup>
import { toRaw } from "vue";
import { onMounted, toRaw } from "vue";
import TGLogger from "../../utils/TGLogger";
interface TpUnknownProps {
data: TGApp.Plugins.Mys.SctPost.Empty;
@@ -13,6 +15,12 @@ interface TpUnknownProps {
const props = defineProps<TpUnknownProps>();
console.warn("tpUnknown", toRaw(props.data.insert));
onMounted(async () => {
await TGLogger.Warn(
`[tpUnknown][onMounted] 未知的插件数据 ${JSON.stringify(toRaw(props.data))}}`,
);
});
</script>
<style lang="css" scoped>
.tp-unknown-box {