修改
This commit is contained in:
parent
8384e49bd1
commit
16ab6d12d0
@ -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() {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user