diff --git a/components/Data.js b/components/Data.js index 2fd21a68..190fe67b 100644 --- a/components/Data.js +++ b/components/Data.js @@ -4,7 +4,7 @@ import fs from 'fs' const _path = process.cwd() const getRoot = (root = '') => { if (root === 'root' || root === 'yunzai') { - root = _path + root = `${_path}/` } else if (!root) { root = `${_path}/plugins/miao-plugin/` }