chore(组件): 全局组件改为按需引用
This commit is contained in:
@@ -51,7 +51,17 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
import nsEmpty from '@/components/ns-empty/ns-empty.vue';
|
||||
import nsLogin from '@/components/ns-login/ns-login.vue';
|
||||
import loadingCover from '@/components/loading-cover/loading-cover.vue';
|
||||
import MescrollUni from '@/components/mescroll/mescroll-uni.vue';
|
||||
export default {
|
||||
components: {
|
||||
nsEmpty,
|
||||
nsLogin,
|
||||
loadingCover,
|
||||
MescrollUni
|
||||
},
|
||||
data() {
|
||||
const currentDate = this.getDate({
|
||||
format: true
|
||||
@@ -83,7 +93,6 @@
|
||||
related_id: 0
|
||||
};
|
||||
},
|
||||
components: {},
|
||||
onLoad(option) {
|
||||
if (option.group_id) this.related_id = option.group_id ? option.group_id : 0;
|
||||
if (option.from_type) this.searchType.from_type = option.from_type;
|
||||
|
||||
Reference in New Issue
Block a user