Skip to content

Commit

Permalink
fix: Fix ApiSymbolQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Nov 9, 2019
1 parent 426a2f3 commit d765323
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
Binary file added docs/.vuepress/public/aws.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/passportjs.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/tsed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/.vuepress/public/typescript.png
Binary file not shown.
7 changes: 2 additions & 5 deletions src/components/api-symbol-query/ApiSymbolQuery.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<ApiSymbol class="-inline" v-if="item" :item="item"></ApiSymbol>
</template>
<script>
import { findSymbols, getApi } from '../../utils/api'
import { findSymbols } from '../../utils/api'
import ApiSymbol from '../api-symbol/ApiSymbol'
export default {
Expand Down Expand Up @@ -36,10 +36,7 @@
mounted () {
if (this.query) {
getApi(this.$site.themeConfig.apiUrl)
.then((api) => {
this.api = api
})
this.api = this.$site.themeConfig.api
}
}
}
Expand Down

0 comments on commit d765323

Please sign in to comment.