Fixed: some bugs

This commit is contained in:
Molunerfinn
2018-10-10 17:25:44 +08:00
parent c149211def
commit ea5b937c93
2 changed files with 3 additions and 1 deletions

View File

@@ -20,7 +20,7 @@
>
<div class="plugin-item__content">
<div class="plugin-item__name">
{{ item.name }}
{{ item.name }} <small>{{ ' ' + item.version }}</small>
</div>
<div class="plugin-item__desc">
{{ item.description }}
@@ -254,6 +254,7 @@ export default {
config: {},
homepage: item.package.links ? item.package.links.homepage : '',
hasInstall: this.pluginNameList.some(plugin => plugin === item.package.name.replace(/picgo-plugin-/, '')),
version: item.package.version,
installing: false,
reload: false
}