fix: change readme path
This commit is contained in:
@@ -1,11 +1,10 @@
|
|||||||
<script setup lang='ts'>
|
<script setup lang='ts'>
|
||||||
import {ref,onMounted} from 'vue'
|
import {ref,onMounted} from 'vue'
|
||||||
import markdownit from 'markdown-it'
|
import markdownit from 'markdown-it'
|
||||||
|
|
||||||
const md = markdownit()
|
const md = markdownit()
|
||||||
const readmeHtml=ref('')
|
const readmeHtml=ref('')
|
||||||
const readMd=()=>{
|
const readMd=()=>{
|
||||||
fetch('/src/views/Config/Readme/readme.md')
|
fetch('/readme.md')
|
||||||
.then(res=>res.text())
|
.then(res=>res.text())
|
||||||
.then(res=>{
|
.then(res=>{
|
||||||
readmeHtml.value = md.render(res)
|
readmeHtml.value = md.render(res)
|
||||||
|
|||||||
Reference in New Issue
Block a user