Fix: some post form errors (#5212)
* Fix: type mismatch in post-form-attaches * Fix: 'this is null' in post-form-window
This commit is contained in:
parent
ac914af9c3
commit
5d847f9808
|
@ -36,7 +36,7 @@ export default Vue.extend({
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
detachMediaFn: {
|
detachMediaFn: {
|
||||||
type: Object,
|
type: Function,
|
||||||
required: false
|
required: false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,8 +5,8 @@
|
||||||
<span class="icon" v-if="geo"><fa icon="map-marker-alt"/></span>
|
<span class="icon" v-if="geo"><fa icon="map-marker-alt"/></span>
|
||||||
<span v-if="!reply">{{ $t('note') }}</span>
|
<span v-if="!reply">{{ $t('note') }}</span>
|
||||||
<span v-if="reply">{{ $t('reply') }}</span>
|
<span v-if="reply">{{ $t('reply') }}</span>
|
||||||
<span class="count" v-if="files.length != 0">{{ this.$t('attaches').replace('{}', files.length) }}</span>
|
<span class="count" v-if="files.length != 0">{{ $t('attaches').replace('{}', files.length) }}</span>
|
||||||
<span class="count" v-if="uploadings.length != 0">{{ this.$t('uploading-media').replace('{}', uploadings.length) }}<mk-ellipsis/></span>
|
<span class="count" v-if="uploadings.length != 0">{{ $t('uploading-media').replace('{}', uploadings.length) }}<mk-ellipsis/></span>
|
||||||
</span>
|
</span>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue