mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 10:44:59 +00:00
[bugfix] Utils: is-src add blob image source (#3300)
This commit is contained in:
@@ -2,5 +2,5 @@
|
||||
* Is image source
|
||||
*/
|
||||
export function isSrc(url: string): boolean {
|
||||
return /^(https?:)?\/\/|data:image/.test(url);
|
||||
return /^((blob:)?https?:)?\/\/|data:image/.test(url);
|
||||
}
|
||||
|
Reference in New Issue
Block a user