chore(组件): 全局组件改为按需引用

This commit is contained in:
2025-12-26 14:29:38 +08:00
parent e949b14090
commit 86831b8551
27 changed files with 287 additions and 103 deletions

View File

@@ -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;