提交 4f36264c 编写于 作者: View Design's avatar View Design

update

上级 6bff5962
...@@ -67,10 +67,7 @@ const handleRender = () => { ...@@ -67,10 +67,7 @@ const handleRender = () => {
} }
watch(()=> props.code, () => { watch(()=> props.code, () => {
handleRender(); handleRender();
}) }, { immediate: true })
onMounted(() => {
handleRender();
})
</script> </script>
<style> <style>
......
<template>
<div class="p-12">
<IMdMdc :content="data" />
</div>
</template>
<script setup>
const { data } = await useFetch2('/api/mock/test')
</script>
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册