@sunshaobei/dsh-session-manager 3.1.0 → 3.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client.js +12 -0
- package/package.json +1 -1
package/client.js
CHANGED
|
@@ -2135,6 +2135,18 @@ window.__ModuleLoader__.load({
|
|
|
2135
2135
|
// 约等于视口 < 800px)就整项消失,这正是「设置里没有会话回收站」的真正原因。
|
|
2136
2136
|
// 25 落在 20(mnemon「Memory System」)与 30(cost-meter「Cost」)之间,
|
|
2137
2137
|
// 属于最上面几项,任何能看见设置导航的窗口都能看见它。
|
|
2138
|
+
// 设置页入口(与插件详情页面板并存)
|
|
2139
|
+
ctx.slots.inject('settings.section', () =>
|
|
2140
|
+
ctx.slots.register(
|
|
2141
|
+
{
|
|
2142
|
+
name: 'settings.section',
|
|
2143
|
+
id: 'trash',
|
|
2144
|
+
order: 25,
|
|
2145
|
+
label: () => t('recycleBin'),
|
|
2146
|
+
},
|
|
2147
|
+
(props) => TrashTab({ ...props, ctx })
|
|
2148
|
+
)
|
|
2149
|
+
);
|
|
2138
2150
|
// 插件管理二级页(plugins.bundle.config,同 dsh-context):
|
|
2139
2151
|
// key 必须等于插件包名(页面用 configured = bundles.has(pkg.name) 决定是否渲染配置区)。
|
|
2140
2152
|
const CFG_KEY = '@sunshaobei/dsh-session-manager';
|
package/package.json
CHANGED