vant-weapp/dist/common/utils.wxs
2018-12-07 16:13:02 +08:00

6 lines
126 B
XML

function isSrc(url) {
return url.indexOf('http') === 0 || url.indexOf('data:image') === 0;
}
module.exports.isSrc = isSrc;