mirror of https://github.com/halo-dev/halo
release: 1.4.0-beta.2
parent
b422242552
commit
899bec20c6
|
@ -1,2 +1,2 @@
|
|||
NODE_ENV=production
|
||||
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.0-beta.1/dist/
|
||||
PUBLIC_PATH=https://cdn.jsdelivr.net/npm/halo-admin@1.4.0-beta.2/dist/
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "halo-admin",
|
||||
"version": "1.4.0-beta.1",
|
||||
"version": "1.4.0-beta.2",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "halo-admin",
|
||||
"version": "1.4.0-beta.1",
|
||||
"version": "1.4.0-beta.2",
|
||||
"scripts": {
|
||||
"serve": "vue-cli-service serve",
|
||||
"build": "vue-cli-service build",
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<meta name="renderer" content="webkit">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
|
||||
<meta name="robots" content="noindex,nofllow" />
|
||||
<meta name="generator" content="Halo 1.4.0-beta.1" />
|
||||
<meta name="generator" content="Halo 1.4.0-beta.2" />
|
||||
<link rel="icon" href="<%= BASE_URL %>logo.png" />
|
||||
<title>Halo Dashboard</title>
|
||||
<style>
|
||||
|
|
|
@ -98,6 +98,7 @@
|
|||
<script>
|
||||
import commentApi from '@/api/comment'
|
||||
import marked from 'marked'
|
||||
import { decodeHTML } from '@/utils/util'
|
||||
|
||||
export default {
|
||||
name: 'HeaderComment',
|
||||
|
@ -114,13 +115,13 @@ export default {
|
|||
computed: {
|
||||
converttedPostComments() {
|
||||
return this.postComments.map(comment => {
|
||||
comment.content = marked(comment.content)
|
||||
comment.content = marked(decodeHTML(comment.content))
|
||||
return comment
|
||||
})
|
||||
},
|
||||
converttedSheetComments() {
|
||||
return this.sheetComments.map(comment => {
|
||||
comment.content = marked(comment.content)
|
||||
comment.content = marked(decodeHTML(comment.content))
|
||||
return comment
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue