Compare commits
No commits in common. "6b740bda78606b97a04fa031a0f89cc17119554c" and "870d35a7303bb60f6ae31127039322d71cd06c12" have entirely different histories.
6b740bda78
...
870d35a730
@ -2,8 +2,7 @@
|
|||||||
<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>
|
||||||
@ -88,10 +87,6 @@ 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