Commit 235f2c3c authored by Medicean's avatar Medicean

(Fix: ShellManager) 修复「创建副本」时不会同步 decoder 的问题

parent e45b517d
......@@ -18,6 +18,8 @@
![data_separtor_2.png](https://i.loli.net/2019/11/05/QECmJprI5FldB9b.png)
* 修复「创建副本」时不会同步 decoder 的问题
### 文件管理
* 编辑文件新增「刷新」按钮
......
......@@ -185,8 +185,7 @@ class ContextMenu {
}
// 判断是否支持多目标执行
return ret || !p['info']['multiple'];
})() :
info && (p['info']['scripts'] || []).indexOf(info['type']) === -1,
})() : info && (p['info']['scripts'] || []).indexOf(info['type']) === -1,
action: ((plug) => () => {
// 如果没有加载到内存,则加载
if (!antSword['plugins'][plug['_id']]['module']) {
......@@ -252,8 +251,7 @@ class ContextMenu {
items.map((_) => {
ret.push({
text: _ === 'default' ?
LANG['category']['default'] :
_,
LANG['category']['default'] : _,
icon: 'fa fa-folder-o',
disabled: category === _,
action: moveHandler.bind(null, _)
......@@ -394,7 +392,8 @@ class ContextMenu {
note: info['note'],
type: info['type'],
encode: info['encode'],
encoder: info['encoder']
encoder: info['encoder'],
decoder: info['decoder'],
},
http: info['httpConf'] || {},
other: info['otherConf'] || {}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment