修复bug
Former-commit-id: 8c26ec65dd2eae19bcff1f61a895233f2eb81ca6 [formerly 8c26ec65dd2eae19bcff1f61a895233f2eb81ca6 [formerly 8c26ec65dd2eae19bcff1f61a895233f2eb81ca6 [formerly 8c26ec65dd2eae19bcff1f61a895233f2eb81ca6 [formerly a0175cae07fa2ed4ad16391334bd0146fc8a3358 [formerly 73c06efe331f0c975b97bc90298b1500b4a0e7fe]]]]] Former-commit-id: 152b72499907530aad146ec0db3bee4721751a29 Former-commit-id: 2c41ede712296a5ceb117e85d36b9edfa01874ab Former-commit-id: afb78b5d3759960f384801c3d167b13e6a4e8f67 [formerly 88661ca2aea16a06498da8019308a335f15b7888] Former-commit-id: 341c36a6c1e839c938e155d085c220889b44c883 Former-commit-id: 11e2636ee448651bb33393399e3fa449a60a9c59 Former-commit-id: 21a0bc43a7fd5b4ae5e17ccfd74475c5fa667cc5 Former-commit-id: 54ab7b5219200e7eb69e47b263b0f153b5d6245d Former-commit-id: 220e96a33d797a1cea5bd1451a7dff2709150b5b
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
|
||||
<script>
|
||||
import marked from 'marked'
|
||||
import axios from 'axios'
|
||||
import highlight from 'highlight.js'
|
||||
import bandupan from './plugin/baidupan'
|
||||
export default {
|
||||
@@ -63,7 +62,7 @@ export default {
|
||||
},
|
||||
// 从 url 加载原始数据
|
||||
async getReadme (url) {
|
||||
const { data } = await axios.get(url)
|
||||
const data = await this.$axios.get(url)
|
||||
return this.marked(data)
|
||||
},
|
||||
marked (data) {
|
||||
|
||||
Reference in New Issue
Block a user