mirror of
https://github.com/Kenshin/simpread.git
synced 2026-01-25 14:28:34 +00:00
Modify some copywrite.
This commit is contained in:
parent
524074bfd7
commit
aab68cf750
@ -34,7 +34,8 @@ class Modals extends React.Component {
|
||||
// save modals focus option
|
||||
save() {
|
||||
console.log( "modals click submit button.", storage.current, flag )
|
||||
if ( [ "title", "include" ].findIndex( key => storage.current.site[key] == "" ) != -1 ) {
|
||||
const props = storage.current.mode == "focus" ? [ "include" ] : [ "title", "include" ];
|
||||
if ( props.findIndex( key => storage.current.site[key] == "" ) != -1 ) {
|
||||
new Notify().Render( 3, "【标题、高亮】不能为空。" );
|
||||
}
|
||||
else if ( Object.values( flag ).findIndex( key => key != 0 ) != -1 ) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user