This commit is contained in:
曹辉 2023-04-26 15:12:17 +08:00
parent 8384e49bd1
commit 16ab6d12d0

View File

@ -20,6 +20,7 @@
<view v-if='list.length == 0' class="" style="padding-top: 100rpx;"> <view v-if='list.length == 0' class="" style="padding-top: 100rpx;">
<u-empty text="暂无" mode="list" icon-size='240' font-size='32'></u-empty> <u-empty text="暂无" mode="list" icon-size='240' font-size='32'></u-empty>
</view> </view>
<u-toast ref="uToast" />
</view> </view>
</template> </template>
<script> <script>
@ -47,7 +48,13 @@
if (nursePersonId) { if (nursePersonId) {
that.nursePersonId = nursePersonId that.nursePersonId = nursePersonId
that.info(); that.info();
} else {} } else {
that.$refs.uToast.show({
title: '您未登录',
type: 'error',
duration: '1000'
})
}
}, },
methods: { methods: {
info() { info() {