mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-29 01:02:47 +08:00
ref: 功能优化
This commit is contained in:
parent
0d6872d12b
commit
1e77613565
@ -39,6 +39,8 @@
|
|||||||
:src="item.icon"
|
:src="item.icon"
|
||||||
/>
|
/>
|
||||||
</a-list-item-meta>
|
</a-list-item-meta>
|
||||||
|
<a-tag v-show="item.type === 'dev'">开发者</a-tag>
|
||||||
|
<a-tag v-show="item.type === 'system'">系统</a-tag>
|
||||||
</a-list-item>
|
</a-list-item>
|
||||||
</a-list>
|
</a-list>
|
||||||
</div>
|
</div>
|
||||||
|
@ -60,7 +60,7 @@ function downloadFunc(downloadRepoUrl, name) {
|
|||||||
await process.execSync(`rm -rf ${temp_dest}`);
|
await process.execSync(`rm -rf ${temp_dest}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
download(targetGit, temp_dest, function (err) {
|
download(targetGit, temp_dest, {clone: true}, function (err) {
|
||||||
console.log(err ? 'Error' : 'Success')
|
console.log(err ? 'Error' : 'Success')
|
||||||
if (err) {
|
if (err) {
|
||||||
console.log(err);
|
console.log(err);
|
||||||
|
@ -181,6 +181,7 @@ const actions = {
|
|||||||
value: 'plugin',
|
value: 'plugin',
|
||||||
icon: 'image://' + path.join(plugin.sourceFile, `../${plugin.logo}`),
|
icon: 'image://' + path.join(plugin.sourceFile, `../${plugin.logo}`),
|
||||||
desc: fe.explain,
|
desc: fe.explain,
|
||||||
|
type: plugin.type,
|
||||||
click: (router) => {
|
click: (router) => {
|
||||||
actions.openPlugin({commit}, {cmd, plugin, feature: fe, router});
|
actions.openPlugin({commit}, {cmd, plugin, feature: fe, router});
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user