Skip to content

Commit

Permalink
🦄 refactor: eslint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Chadwuo committed Jan 18, 2025
1 parent 6432c2d commit 2515f0a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/pages/family/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -69,11 +69,11 @@ async function onSelectedAction(e: any) {
onShareAppMessage(() => {
const promise = new Promise<Page.CustomShareContent>((resolve, reject) => {
if (!userFamilys.value) {
reject()
reject(new Error('User families not found'))
}
else {
if (userFamilys.value.length >= 2 && !userInfo.value?.isVip) {
reject()
reject(new Error('Family member limit exceeded'))
message
.confirm({
msg: '开通会员后解锁家庭成员数量无上限权益',
Expand All @@ -87,7 +87,6 @@ onShareAppMessage(() => {
})
})
.catch(() => {
console.log('点击了取消按钮')
})
}
else {
Expand Down Expand Up @@ -136,7 +135,7 @@ onShareAppMessage(() => {
</div>
<div v-else class="rounded-2xl bg-white p-4 space-y-2xl">
<div class="text-center">
<img src="/static/family/index.png" class="w-full">
<img src="/static/family/index.svg" class="w-full">
<div class="mt-5 text-xl font-bold">
家人共享
</div>
Expand Down
Binary file removed src/static/family/index.png
Binary file not shown.
1 change: 1 addition & 0 deletions src/static/family/index.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2515f0a

Please sign in to comment.