fix(Image): loading placeholder not work

This commit is contained in:
chenjiahan
2020-08-26 16:24:02 +08:00
parent eb0cc05b12
commit c720eea831
6 changed files with 14 additions and 15 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ export default createComponent({
emits: ['click-left', 'click-right'],
setup(props, { emit, slots }) {
const height = ref(null);
const navBarRef = ref(null);
const height = ref();
const navBarRef = ref();
onMounted(() => {
if (props.placeholder && props.fixed) {