mirror of
https://github.com/jxxghp/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix(clashruleprovider): unable to delete proxies
This commit is contained in:
@@ -514,12 +514,13 @@
|
|||||||
"name": "Clash Rule Provider",
|
"name": "Clash Rule Provider",
|
||||||
"description": "随时为Clash添加一些额外的规则。",
|
"description": "随时为Clash添加一些额外的规则。",
|
||||||
"labels": "工具",
|
"labels": "工具",
|
||||||
"version": "2.1.2",
|
"version": "2.1.3",
|
||||||
"icon": "Mihomo_Meta_A.png",
|
"icon": "Mihomo_Meta_A.png",
|
||||||
"author": "wumode",
|
"author": "wumode",
|
||||||
"level": 1,
|
"level": 1,
|
||||||
"release": true,
|
"release": true,
|
||||||
"history": {
|
"history": {
|
||||||
|
"v2.1.3": "修复代理删除问题",
|
||||||
"v2.1.2": "修复规则集序列化错误",
|
"v2.1.2": "修复规则集序列化错误",
|
||||||
"v2.1.1": "增强数据管理功能",
|
"v2.1.1": "增强数据管理功能",
|
||||||
"v2.0.10": "适配 MoviePilot 2.8.4",
|
"v2.0.10": "适配 MoviePilot 2.8.4",
|
||||||
|
|||||||
@@ -36,7 +36,7 @@ class ClashRuleProvider(_PluginBase):
|
|||||||
# 插件图标
|
# 插件图标
|
||||||
plugin_icon = "Mihomo_Meta_A.png"
|
plugin_icon = "Mihomo_Meta_A.png"
|
||||||
# 插件版本
|
# 插件版本
|
||||||
plugin_version = "2.1.2"
|
plugin_version = "2.1.3"
|
||||||
# 插件作者
|
# 插件作者
|
||||||
plugin_author = "wumode"
|
plugin_author = "wumode"
|
||||||
# 作者主页
|
# 作者主页
|
||||||
|
|||||||
@@ -10418,7 +10418,7 @@ const _sfc_main$d = /* @__PURE__ */ _defineComponent$d({
|
|||||||
async function deleteProxy(name) {
|
async function deleteProxy(name) {
|
||||||
loading.value = true;
|
loading.value = true;
|
||||||
try {
|
try {
|
||||||
await props.api.delete(`/plugin/ClashRuleProvider/proxies/${name}`);
|
await props.api.delete(`/plugin/ClashRuleProvider/proxies/${encodeURIComponent(name)}`);
|
||||||
emit("refresh", ["proxies", "clash-outbounds"]);
|
emit("refresh", ["proxies", "clash-outbounds"]);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
if (err instanceof Error) {
|
if (err instanceof Error) {
|
||||||
@@ -3,7 +3,7 @@ const currentImports = {};
|
|||||||
let moduleMap = {
|
let moduleMap = {
|
||||||
"./Page":()=>{
|
"./Page":()=>{
|
||||||
dynamicLoadingCss(["__federation_expose_Page-CJILOVp4.css"], false, './Page');
|
dynamicLoadingCss(["__federation_expose_Page-CJILOVp4.css"], false, './Page');
|
||||||
return __federation_import('./__federation_expose_Page-DhQfGEOD.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
return __federation_import('./__federation_expose_Page-DU-ODF61.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
||||||
"./Config":()=>{
|
"./Config":()=>{
|
||||||
dynamicLoadingCss(["__federation_expose_Config-CwbjkOP2.css"], false, './Config');
|
dynamicLoadingCss(["__federation_expose_Config-CwbjkOP2.css"], false, './Config');
|
||||||
return __federation_import('./__federation_expose_Config-CY46uj5g.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
return __federation_import('./__federation_expose_Config-CY46uj5g.js').then(module =>Object.keys(module).every(item => exportSet.has(item)) ? () => module.default : () => module)},
|
||||||
|
|||||||
Reference in New Issue
Block a user