Compare commits

..

2 Commits

Author SHA1 Message Date
huxuejian
6b740bda78 Merge branch 'dev-wdb' of http://175.27.226.205:3000/huxuejian/ykt-wxapp into dev-wdb 2026-03-03 13:50:03 +08:00
huxuejian
6e8b8a7420 Update invite-patient.vue 2026-03-03 13:50:00 +08:00

View File

@ -2,7 +2,8 @@
<view class="flex flex-col justify-center h-full bg-white">
<view v-if="list.length === 0" class="w-full">
<empty-data text="暂无团队" />
<view class="mt-10 mx-auto w-100 text-base text-primary border-auto leading-normal py-5 text-center rounded">
<view class="mt-10 mx-auto w-100 text-base text-primary border-auto leading-normal py-5 text-center rounded"
@click="toCreateTeam()">
创建团队
</view>
</view>
@ -87,6 +88,10 @@ const indicator = computed(() => ({
}))
const team = computed(() => list.value[current.value] || null);
function toCreateTeam() {
uni.navigateTo({ url: '/pages/work/team/edit/team-edit' })
}
function toggle(val) {
const num = current.value + val;
if (num > 0) {