docs: update 文档

This commit is contained in:
muwoo
2021-09-01 09:17:25 +08:00
parent 3858f35559
commit 579b283a55
4 changed files with 179 additions and 9 deletions

View File

@@ -213,7 +213,7 @@ export default {
let filePath = '';
if (process.platform === 'win32') {
const rawFilePath = clipboard.read('FileNameW');
filePath = rawFilePath.replace(new RegExp(String.fromCharCode(0), 'g'), ''); } else {
filePath = rawFilePath.replace(new RegExp(String.fromCharCode(0), 'g'), '');
if (filePath.indexOf('plugin.json') >= 0) {
this.search({
filePath,