Merge pull request #45 from tttclz/vue3-ts-vite

target.prototype.url 赋值问题
This commit is contained in:
icssoa 2022-05-17 09:39:25 +08:00 committed by GitHub
commit 856db94524
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,7 +37,7 @@ export function Service(value: any) {
if (proxy) {
target.prototype.proxy = proxy;
target.prototype.url = url || item ? item.target : null;
target.prototype.url = url || (item ? item.target : null);
}
}
};