feat:接入推荐好友
This commit is contained in:
@@ -56,9 +56,13 @@ const getStatusInfo = (type) => {
|
||||
};
|
||||
|
||||
const userLimit = computed(() => getStatusInfo(props.pointsData.userLimit));
|
||||
const userImageSrc = computed(
|
||||
() => import.meta.env.VITE_APP_BASEAPI + "/file/" + props.pointsData.icon
|
||||
);
|
||||
const userImageSrc = computed(() => {
|
||||
if (props.pointsData.icon) {
|
||||
return import.meta.env.VITE_APP_BASEAPI + "/file/" + props.pointsData.icon;
|
||||
} else {
|
||||
return "favicon.ico";
|
||||
}
|
||||
});
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
|
||||
Reference in New Issue
Block a user