更新到v0.2.3版本

This commit is contained in:
lyswhut
2019-08-22 23:02:59 +08:00
parent 893d20b4e9
commit 2b3aab2faf
19 changed files with 128 additions and 49 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ import { author, name } from '../../../package.json'
export default {
getVersionInfo() {
return new Promise((resolve, reject) => {
httpGet(`https://raw.githubusercontent.com/${author}/${name}/master/publish/version.json`, (err, resp, body) => {
httpGet(`https://raw.githubusercontent.com/${author.name}/${name}/master/publish/version.json`, (err, resp, body) => {
if (err) return reject(err)
resolve(body)
})