mirror of
https://github.com/rubickCenter/rubick
synced 2025-12-24 11:31:44 +08:00
✨ suport linux
This commit is contained in:
@@ -35,7 +35,7 @@ export default {
|
||||
},
|
||||
|
||||
async getSystemDetail() {
|
||||
let targetPath = "/plugins/system.json";
|
||||
let targetPath = "plugins/system.json";
|
||||
if (access_token) {
|
||||
targetPath = `${encodeURIComponent(targetPath)}/raw?access_token=${access_token}&ref=master`
|
||||
}
|
||||
@@ -43,7 +43,7 @@ export default {
|
||||
return res.data;
|
||||
},
|
||||
async getWorkerDetail() {
|
||||
let targetPath = "/plugins/worker.json";
|
||||
let targetPath = "plugins/worker.json";
|
||||
if (access_token) {
|
||||
targetPath = `${encodeURIComponent(targetPath)}/raw?access_token=${access_token}&ref=master`
|
||||
}
|
||||
@@ -57,7 +57,7 @@ export default {
|
||||
},
|
||||
|
||||
async getSearchDetail() {
|
||||
let targetPath = "/plugins/search.json";
|
||||
let targetPath = "plugins/search.json";
|
||||
if (access_token) {
|
||||
targetPath = `${encodeURIComponent(targetPath)}/raw?access_token=${access_token}&ref=master`
|
||||
}
|
||||
@@ -65,7 +65,7 @@ export default {
|
||||
return res.data;
|
||||
},
|
||||
async getDevDetail() {
|
||||
let targetPath = "/plugins/dev.json";
|
||||
let targetPath = "plugins/dev.json";
|
||||
if (access_token) {
|
||||
targetPath = `${encodeURIComponent(targetPath)}/raw?access_token=${access_token}&ref=master`
|
||||
}
|
||||
|
||||
@@ -149,6 +149,7 @@ const deletePlugin = async (plugin) => {
|
||||
height: 100%;
|
||||
padding: 10px 0;
|
||||
border-right: 1px solid #eee;
|
||||
overflow: auto;
|
||||
.item {
|
||||
padding: 10px 20px;
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user