适配微信小程序
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<template>
|
||||
<furniture-reception-impl :incomingTab="incomingTab" />
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import FurnitureReceptionImpl from './furniture_reception-impl.vue';
|
||||
|
||||
export default {
|
||||
name: 'FurnitureReceptionEntry',
|
||||
components: {
|
||||
FurnitureReceptionImpl,
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
incomingTab: '',
|
||||
};
|
||||
},
|
||||
onLoad(options = {}) {
|
||||
const allowed = ['status', 'reception', 'tag'];
|
||||
const raw = options.tab != null ? String(options.tab) : '';
|
||||
this.incomingTab = allowed.includes(raw) ? raw : 'reception';
|
||||
},
|
||||
};
|
||||
</script>
|
||||
Reference in New Issue
Block a user