release: 1.4.0-beta.2

pull/3445/head
ruibaby 2020-08-04 21:41:33 +08:00
parent b422242552
commit 899bec20c6
5 changed files with 7 additions and 6 deletions

View File

@ -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/

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "halo-admin",
"version": "1.4.0-beta.1",
"version": "1.4.0-beta.2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -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",

View File

@ -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>

View File

@ -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
})
}