fix: Support markdown to welcome msg

This commit is contained in:
lejianwen
2024-12-25 19:59:41 +08:00
parent 21254e2b2c
commit a1e5e9a9da
+2 -2
View File
@@ -39,7 +39,7 @@
<script setup> <script setup>
import changePwdDialog from '@/components/changePwdDialog.vue' import changePwdDialog from '@/components/changePwdDialog.vue'
import { ref } from 'vue' import { computed, ref } from 'vue'
import { useUserStore } from '@/store/user' import { useUserStore } from '@/store/user'
import { useAppStore } from '@/store/app' import { useAppStore } from '@/store/app'
import { bind, unbind } from '@/api/oauth' import { bind, unbind } from '@/api/oauth'
@@ -86,7 +86,7 @@
} }
const html = marked(appStore.setting.hello) const html = computed(_ => marked(appStore.setting.hello))
</script> </script>