摘要:
主要是通过ref <input type="text" class="content" v-model="content" ref="content"/> <span @click="handleClick">使input获得焦点</span> handleClick(label){ this.$r 阅读全文
摘要:
<input type="file" name="file" id="file" accept="image/png, image/jpeg, image/gif, image/jpg" @change="imgChange(this)" class="fileInput"/> 在图片每次ImgCh 阅读全文
摘要:
依赖的库:qrcode.vue (3.2.2) <qrcode-vue :value="qrCodeUrl" :size="size" level="H" /> import QrcodeVue from 'qrcode.vue' export default { name: '', compone 阅读全文