在uniapp中表单input是没有file类型的。那在app端怎么动态创建<input type="file" />的页面元素呢,像h5可以使用
// 创建input
mounted() {
input = document.createElement('input');
input.type = 'file';
input.onchange = this.inputUpload;
this.$refs.input.$el.appendChild(input);
},
那app端呢
救命啊