fix(docs:lib/init): copied `lib.init.json` error.

This commit is contained in:
Ansolve 2023-11-16 22:40:50 +08:00
parent f09377e5a5
commit b716d2e6ba
No known key found for this signature in database
GPG Key ID: 2F2873AC9538CC2D
1 changed files with 3 additions and 4 deletions

View File

@ -8412,11 +8412,10 @@
req:(str,master)=>new Promise((resolve,reject)=>lib.init.req(str,resolve,reject,master)), req:(str,master)=>new Promise((resolve,reject)=>lib.init.req(str,resolve,reject,master)),
/** /**
* Promise版的`lib.init.req` * Promise版的`lib.init.json`
* *
* @param {string} str - 要读取的地址 * @param {string} url - 要读取的地址
* @param {string} [master] * @returns {Promise<object>}
* @returns {Promise<ProgressEvent>}
*/ */
json:(url)=>new Promise((resolve,reject)=>lib.init.json(url,resolve,reject)), json:(url)=>new Promise((resolve,reject)=>lib.init.json(url,resolve,reject)),