From 3dd4fddd0cd5370cf78439d7e1035fa67e1c28bd Mon Sep 17 00:00:00 2001 From: Kenshin Date: Fri, 31 Aug 2018 11:29:31 +0800 Subject: [PATCH] Add empyt plugins show tips. --- src/module/pluginbar.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/module/pluginbar.jsx b/src/module/pluginbar.jsx index 244f3238..0389017c 100644 --- a/src/module/pluginbar.jsx +++ b/src/module/pluginbar.jsx @@ -68,6 +68,10 @@ export default class Pluginbar extends React.Component { ) }); + if ( child.length == 0 ) { + child.push( 请通过「选项页 → 插件管理」添加。` }}> ); + } + return ( {child} )