修复重大故障: JwtAuthenticationFilter文件,远程读取用户接口导致的服务器请求数量跑满
This commit is contained in:
@@ -1,18 +1,24 @@
|
||||
<template>
|
||||
<MdPreview v-if="editor === 2" :id="id" :modelValue="data" />
|
||||
<div v-else v-html="data"></div>
|
||||
</template>
|
||||
|
||||
<script setup lang="ts">
|
||||
import { MdPreview } from 'md-editor-v3';
|
||||
import 'md-editor-v3/lib/preview.css';
|
||||
|
||||
const props = withDefaults(
|
||||
defineProps<{
|
||||
data?: any;
|
||||
isMobile?: boolean;
|
||||
}>(),
|
||||
{}
|
||||
defineProps<{
|
||||
data?: any;
|
||||
editor?: number;
|
||||
isMobile?: boolean;
|
||||
}>(),
|
||||
{}
|
||||
);
|
||||
|
||||
const id = 'preview-only';
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div v-html="data"></div>
|
||||
</template>
|
||||
|
||||
<style lang="scss">
|
||||
.content {
|
||||
overflow: hidden;
|
||||
|
||||
Reference in New Issue
Block a user