2022-12-04 21:42:59 +08:00

30 lines
592 B
Vue

<script setup lang="ts">
import { ref } from 'vue'
import { getSystemSettingsConfigValueApi } from '@/api/vadmin/system/settings'
const content = ref(null)
// 获取隐私协议内容
const getSystemConfig = async () => {
const res = await getSystemSettingsConfigValueApi({ config_key: 'web_privacy' })
if (res) {
content.value = res.data
}
}
getSystemConfig()
</script>
<template>
<div class="content-view" v-html="content"></div>
</template>
<style scoped lang="less">
.content-view {
padding: 20px;
overflow-y: scroll;
overflow-x: hidden;
height: 100%;
}
</style>