fix: version source (#2836)

* fix: remote plugin

* fix: change version source

---------

Co-authored-by: test <test@mail.com>
This commit is contained in:
jack zhang 2023-10-15 20:30:58 +08:00 committed by GitHub
parent 36f84593bb
commit a693f1c79e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -131,7 +131,7 @@ export default {
try {
return {
...item.toJSON(),
url: `${getExposeUrl(item.packageName, PLUGIN_CLIENT_ENTRY_FILE)}?version=${version}`,
url: `${getExposeUrl(item.packageName, PLUGIN_CLIENT_ENTRY_FILE)}?version=${item.version}`,
};
} catch {
return false;