支持 removePlugin API

This commit is contained in:
muwoo 2022-01-11 19:38:52 +08:00
parent 04e674d1cd
commit 4cf00f9270
3 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<div class="list-item">
<a-list :grid="{ gutter: 16, column: 2 }" :data-source="list">
<template #renderItem="{ item, index }">
<a-list-item @click="showDetail(item)">
<a-list-item v-if="item" @click="showDetail(item)">
<template #actions>
<a-button style="color: #ff4ea4;" type="text" :loading="item.isloading">
<CloudDownloadOutlined

View File

@ -1,6 +1,6 @@
{
"name": "rubick",
"version": "2.0.1-beta.14",
"version": "2.0.1-beta.15",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",

View File

@ -137,4 +137,8 @@ window.rubick = {
},
getLocalId: () => ipcSendSync("getLocalId"),
removePlugin() {
ipcSend("removePlugin");
},
};