diff --git a/package.v2.json b/package.v2.json index aba2354..98724e5 100644 --- a/package.v2.json +++ b/package.v2.json @@ -514,12 +514,13 @@ "name": "Clash Rule Provider", "description": "随时为Clash添加一些额外的规则。", "labels": "工具", - "version": "2.1.2", + "version": "2.1.3", "icon": "Mihomo_Meta_A.png", "author": "wumode", "level": 1, "release": true, "history": { + "v2.1.3": "修复代理删除问题", "v2.1.2": "修复规则集序列化错误", "v2.1.1": "增强数据管理功能", "v2.0.10": "适配 MoviePilot 2.8.4", diff --git a/plugins.v2/clashruleprovider/__init__.py b/plugins.v2/clashruleprovider/__init__.py index a4ca8e0..d7883f2 100644 --- a/plugins.v2/clashruleprovider/__init__.py +++ b/plugins.v2/clashruleprovider/__init__.py @@ -36,7 +36,7 @@ class ClashRuleProvider(_PluginBase): # 插件图标 plugin_icon = "Mihomo_Meta_A.png" # 插件版本 - plugin_version = "2.1.2" + plugin_version = "2.1.3" # 插件作者 plugin_author = "wumode" # 作者主页 diff --git a/plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DhQfGEOD.js b/plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DU-ODF61.js similarity index 99% rename from plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DhQfGEOD.js rename to plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DU-ODF61.js index f1f8a6b..d478c8c 100644 --- a/plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DhQfGEOD.js +++ b/plugins.v2/clashruleprovider/dist/assets/__federation_expose_Page-DU-ODF61.js @@ -10418,7 +10418,7 @@ const _sfc_main$d = /* @__PURE__ */ _defineComponent$d({ async function deleteProxy(name) { loading.value = true; try { - await props.api.delete(`/plugin/ClashRuleProvider/proxies/${name}`); + await props.api.delete(`/plugin/ClashRuleProvider/proxies/${encodeURIComponent(name)}`); emit("refresh", ["proxies", "clash-outbounds"]); } catch (err) { if (err instanceof Error) { diff --git a/plugins.v2/clashruleprovider/dist/assets/remoteEntry.js b/plugins.v2/clashruleprovider/dist/assets/remoteEntry.js index 64c2d34..50c6172 100644 --- a/plugins.v2/clashruleprovider/dist/assets/remoteEntry.js +++ b/plugins.v2/clashruleprovider/dist/assets/remoteEntry.js @@ -3,7 +3,7 @@ const currentImports = {}; let moduleMap = { "./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":()=>{ 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)},