Compare commits

..

No commits in common. "6b740bda78606b97a04fa031a0f89cc17119554c" and "870d35a7303bb60f6ae31127039322d71cd06c12" have entirely different histories.

View File

@ -2,8 +2,7 @@
<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"
@click="toCreateTeam()">
<view class="mt-10 mx-auto w-100 text-base text-primary border-auto leading-normal py-5 text-center rounded">
创建团队
</view>
</view>
@ -88,10 +87,6 @@ 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) {