mirror of
https://github.com/rubickCenter/rubick
synced 2025-06-28 16:42:47 +08:00
ref: 功能优化
This commit is contained in:
parent
0d6872d12b
commit
1e77613565
@ -39,6 +39,8 @@
|
||||
:src="item.icon"
|
||||
/>
|
||||
</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>
|
||||
</div>
|
||||
|
@ -60,7 +60,7 @@ function downloadFunc(downloadRepoUrl, name) {
|
||||
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')
|
||||
if (err) {
|
||||
console.log(err);
|
||||
|
@ -181,6 +181,7 @@ const actions = {
|
||||
value: 'plugin',
|
||||
icon: 'image://' + path.join(plugin.sourceFile, `../${plugin.logo}`),
|
||||
desc: fe.explain,
|
||||
type: plugin.type,
|
||||
click: (router) => {
|
||||
actions.openPlugin({commit}, {cmd, plugin, feature: fe, router});
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user