no message

Former-commit-id: 854dacd28d5d176d72cc1fbdc625917326be6daf
Former-commit-id: 889bcea85881a67a17a791d3c445cdb43fdb1a85
Former-commit-id: adb66c36629380ccf256313d10dd99a34f993e50
This commit is contained in:
李杨
2018-01-28 23:22:25 +08:00
parent 533bc4f9e7
commit 555585b332
10 changed files with 38 additions and 25 deletions

View File

@@ -30,12 +30,6 @@ export default {
padding: [40, 40, 50, 60]
}
},
created () {
// 打印信息
this.$log('G2', ...[
`version ${this.G2.version}`
])
},
mounted () {
// 如果设置了在 mounted 后自动初始化 就在这里初始化
if (this.mountedInit) {
@@ -47,6 +41,7 @@ export default {
watch: {
// 数据改变
data () {
console.log('111')
this.changeData()
}
},

View File

@@ -50,7 +50,7 @@ export default {
},
// 从 url 加载原始数据
async getReadme (name) {
const data = await this.$http.get(name)
const data = await this.$axios.get(name)
return this.marked(data)
},
marked (data) {