Added error delay to 3000 and add some readme to dev

This commit is contained in:
chris
2022-12-14 12:09:46 +08:00
parent df58b7acb6
commit 7be8f1c799
2 changed files with 11 additions and 1 deletions

View File

@@ -108,6 +108,16 @@ To sync images to your oss or cos bucket, use the [Obsidian Image Auto Upload Pl
[Buy me a coffee](https://dun.mianbaoduo.com/@easy) [Buy me a coffee](https://dun.mianbaoduo.com/@easy)
# Development
```
git clone https://github.com/EasyChris/obsidian-to-notion.git
yarn install
yarn dev
```
# Thanks # Thanks
[Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html) [Development Process | Obsidian Plugin Development Documentation](https://luhaifeng666.github.io/obsidian-plugin-docs-zh/zh/getting-started/development-workflow.html)

View File

@@ -90,7 +90,7 @@ export default class ObsidianSyncNotionPlugin extends Plugin {
if(res.status === 200){ if(res.status === 200){
new Notice(`${langConfig["sync-success"]}${basename}`) new Notice(`${langConfig["sync-success"]}${basename}`)
}else { }else {
new Notice(`${langConfig["sync-fail"]}${basename}`) new Notice(`${langConfig["sync-fail"]}${basename}`, 3000)
} }
} }
} }