This commit is contained in:
syuilo 2020-07-12 10:55:47 +09:00
parent 08293f368f
commit 90348f4ac7

View File

@ -122,8 +122,6 @@ export default Vue.extend({
// 300px // 300px
const areaWidth = (this.$el as any)?.clientWidth; const areaWidth = (this.$el as any)?.clientWidth;
if (areaWidth && areaWidth < 300) this.tweetLeft = areaWidth - 241; if (areaWidth && areaWidth < 300) this.tweetLeft = areaWidth - 241;
console.log(`areaWidth: ${areaWidth}`);
console.log(`this.tweetLeft: ${this.tweetLeft}`);
}, },
methods: { methods: {