Compare commits
2 Commits
870d35a730
...
6b740bda78
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6b740bda78 | ||
|
|
6e8b8a7420 |
@ -2,7 +2,8 @@
|
|||||||
<view class="flex flex-col justify-center h-full bg-white">
|
<view class="flex flex-col justify-center h-full bg-white">
|
||||||
<view v-if="list.length === 0" class="w-full">
|
<view v-if="list.length === 0" class="w-full">
|
||||||
<empty-data text="暂无团队" />
|
<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>
|
||||||
</view>
|
</view>
|
||||||
@ -87,6 +88,10 @@ const indicator = computed(() => ({
|
|||||||
}))
|
}))
|
||||||
const team = computed(() => list.value[current.value] || null);
|
const team = computed(() => list.value[current.value] || null);
|
||||||
|
|
||||||
|
function toCreateTeam() {
|
||||||
|
uni.navigateTo({ url: '/pages/work/team/edit/team-edit' })
|
||||||
|
}
|
||||||
|
|
||||||
function toggle(val) {
|
function toggle(val) {
|
||||||
const num = current.value + val;
|
const num = current.value + val;
|
||||||
if (num > 0) {
|
if (num > 0) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user