You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.0 KiB
48 lines
1.0 KiB
<template>
|
|
<div class=''>
|
|
<div v-html="detailData.richContent" class="ql-editor"></div>
|
|
</div>
|
|
</template>
|
|
|
|
<script>
|
|
import { requestGet} from "@/js/dai/request";
|
|
import { mapGetters } from "vuex";
|
|
export default {
|
|
data() {
|
|
return {
|
|
detailData:null
|
|
};
|
|
},
|
|
activated() {
|
|
this.getNoticeDetail()
|
|
},
|
|
methods: {
|
|
async getNoticeDetail() {
|
|
const url = `/sys/sysVersionUpgrade/detail/${this.$route.query.version_id}`;
|
|
const { data, code, msg } = await requestGet(url);
|
|
if (code === 0) {
|
|
this.detailData= data;
|
|
} else {
|
|
this.$message.error(msg);
|
|
}
|
|
},
|
|
},
|
|
components:{},
|
|
computed:{
|
|
maxTableHeight () {
|
|
return this.$store.state.inIframe
|
|
? this.clientHeight - 360 + this.iframeHeigh
|
|
: this.clientHeight ;
|
|
},
|
|
...mapGetters(["clientHeight", "iframeHeight"]),
|
|
},
|
|
watch: {},
|
|
}
|
|
</script>
|
|
|
|
<style lang='scss' scoped>
|
|
.ql-editor{
|
|
background: #fff;
|
|
margin: 10px 6px;
|
|
}
|
|
</style>
|
|
|