Skip to content

Commit ad2e817

Browse files
committed
refactor(vue-content-loading): add data
1 parent a701916 commit ad2e817

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/components/VueContentLoading.vue

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -115,9 +115,15 @@
115115
};
116116
},
117117
},
118-
118+
119+
data () {
120+
return {
121+
uid: null,
122+
};
123+
},
124+
119125
created () {
120-
this.uid = this._uid
121-
}
126+
this.uid = this._uid;
127+
},
122128
};
123129
</script>

0 commit comments

Comments
 (0)