开始做登录
This commit is contained in:
15
miniprogram_npm/@vant/weapp/empty/index.wxs
Normal file
15
miniprogram_npm/@vant/weapp/empty/index.wxs
Normal file
@@ -0,0 +1,15 @@
|
||||
/* eslint-disable */
|
||||
var PRESETS = ['error', 'search', 'default', 'network'];
|
||||
|
||||
function imageUrl(image) {
|
||||
if (PRESETS.indexOf(image) !== -1) {
|
||||
return 'https://img.yzcdn.cn/vant/empty-image-' + image + '.png';
|
||||
}
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
imageUrl: imageUrl,
|
||||
};
|
||||
|
Reference in New Issue
Block a user