Skip to content

Commit b787c73

Browse files
committed
fix: v3 Android平台下 首页箭头图标显示异常问题
1 parent 2428a83 commit b787c73

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

‎App.vue‎

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,7 @@
2929
})
3030
}
3131
}
32-
})
33-
34-
var domModule = weex.requireModule('dom');
35-
domModule.addRule('fontFace', {
36-
'fontFamily': "uniicons",
37-
'src': "url('./static/uni.ttf')"
38-
});
32+
})
3933
// #endif
4034
},
4135
onShow: function() {

‎pages/tabBar/component/component.nvue‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,15 @@
2323
</view>
2424
</template>
2525
<script>
26+
// TODO 修复Android v3 加载过慢问题
27+
// #ifdef APP-PLUS
28+
var domModule = weex.requireModule('dom');
29+
domModule.addRule('fontFace', {
30+
'fontFamily': "uniicons",
31+
'src': "url('/static/uni.ttf')"
32+
});
33+
// #endif
34+
2635
import uLink from '@/components/uLink.vue'
2736
export default {
2837
components: {

0 commit comments

Comments
 (0)