File tree Expand file tree Collapse file tree
src/uni_modules/wot-design-uni/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -695,7 +695,13 @@ export function isImageUrl(url: string): boolean {
695695/**
696696 * 判断环境是否是H5
697697 */
698- export const isH5 = process . env . UNI_PLATFORM === 'h5'
698+ export const isH5 = ( ( ) => {
699+ let isH5 = false
700+ // #ifdef H5
701+ isH5 = true
702+ // #endif
703+ return isH5
704+ } ) ( )
699705
700706/**
701707 * 剔除对象中的某些属性
Original file line number Diff line number Diff line change 2222 :custom-class =" `wd-fab__actions wd-fab__actions--${fabDirection}`"
2323 :show =" isActive"
2424 :duration =" 300"
25- name =" "
2625 >
2726 <slot ></slot >
2827 </wd-transition >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ const props = defineProps(progressProps)
3434const showColor = ref <string >(' ' )
3535const showPercent = ref <number >(0 )
3636const changeCount = ref <number >(0 )
37- let timer: NodeJS . Timeout | null = null
37+ let timer: ReturnType < typeof setTimeout > | null = null
3838
3939const rootStyle = computed (() => {
4040 return objToStyle ({
You can’t perform that action at this time.
0 commit comments