| @@ -38,8 +38,7 @@ export const sendMsg = (status, msg) => { | |||
| */ | |||
| export const parseMarkdown = (markdownText) => { | |||
| let imgUrl = `http://192.168.18.236:18888/common/getImg?path=`; | |||
| // let imgUrl = `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=`; | |||
| let imgUrl = `${process.env.VUE_APP_PARK_DOMAIN}/common/getImg?path=`; | |||
| const htmlText = markdownText | |||
| .replace(/^### (.*$)/gim, '<h3>$1</h3>') | |||
| .replace(/^## (.*$)/gim, '<h2>$1</h2>') | |||