zhishifufei_uniapp/mixins/config.js

11 lines
196 B

import config from '@/config/index';
const { IMAGE_ASSETS_URL } = config;
export default {
methods: {
getImgPath(path) {
return IMAGE_ASSETS_URL + path;
}
}
}