🐛修复(component): 按需加载部分被依赖组件未解析的问题
This commit is contained in:
		
							parent
							
								
									57b52152bc
								
							
						
					
					
						commit
						d51b0cd8cb
					
				@ -13,8 +13,7 @@ import {
 | 
			
		||||
  onMounted,
 | 
			
		||||
  onBeforeUnmount,
 | 
			
		||||
} from "vue";
 | 
			
		||||
import { useThrottle } from "@vueuse/core";
 | 
			
		||||
import LayIcon from "../icon/index";
 | 
			
		||||
import { LayIcon } from "@layui/icons-vue";
 | 
			
		||||
import "./index.less";
 | 
			
		||||
 | 
			
		||||
export interface LayBacktopProps {
 | 
			
		||||
 | 
			
		||||
@ -266,7 +266,7 @@ import { ref, watch, computed, defineProps, defineEmits, onMounted } from "vue";
 | 
			
		||||
 | 
			
		||||
import "./index.less";
 | 
			
		||||
import dayjs from "dayjs";
 | 
			
		||||
import LayIcon from "../icon/index";
 | 
			
		||||
import { LayIcon } from "@layui/icons-vue";
 | 
			
		||||
import LayInput from "../input/index.vue";
 | 
			
		||||
import LayDropdown from "../dropdown/index.vue";
 | 
			
		||||
import { getDayLength, getYears, getMonth, getYear } from "./day";
 | 
			
		||||
 | 
			
		||||
@ -6,6 +6,7 @@ export default {
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import "./index.less";
 | 
			
		||||
import { LayIcon } from "@layui/icons-vue";
 | 
			
		||||
import { useSlots } from "vue";
 | 
			
		||||
import { useI18n } from "vue-i18n";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -5,9 +5,9 @@ export default {
 | 
			
		||||
</script>
 | 
			
		||||
 | 
			
		||||
<script setup lang="ts">
 | 
			
		||||
import layButton from "../button/index";
 | 
			
		||||
import layInput from "../input/index";
 | 
			
		||||
import layIcon from "../icon/index";
 | 
			
		||||
import layButton from "../button/index.vue";
 | 
			
		||||
import layInput from "../input/index.vue";
 | 
			
		||||
import { LayIcon } from "@layui/icons-vue";
 | 
			
		||||
import "./index.less";
 | 
			
		||||
import { ref, watch, withDefaults, computed } from "vue";
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user