mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2025-12-17 16:05:53 +08:00
commit message
This commit is contained in:
28
pages/floor/empty.vue
Normal file
28
pages/floor/empty.vue
Normal file
@@ -0,0 +1,28 @@
|
||||
<template>
|
||||
<default-page v-if="type" :type="type" title="您的设备已断网" :isBtn="false" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import defaultPage from '@/components/default-page/default-page.vue';
|
||||
export default {
|
||||
components: {
|
||||
defaultPage
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
type: undefined
|
||||
}
|
||||
},
|
||||
onLoad(options) {
|
||||
let pages = getCurrentPages();
|
||||
if (pages.length) {
|
||||
let route = pages[0].route;
|
||||
}
|
||||
this.type = options.type;
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
|
||||
</style>
|
||||
Reference in New Issue
Block a user