摘要: 方法: //生成随机字符串function randomString(len) { len = len || 32; /****默认去掉了容易混淆的字符oOLl,9gq,Vv,Uu,I1****/ var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprst 阅读全文
posted @ 2020-05-11 18:05 小那 阅读(842) 评论(0) 推荐(0) 编辑
摘要: 方法1: html: <div v-if='imgsback.length>0' class="flex"> <div class="img-box" v-for="(item, i) in imgsback" :key='i' > <img class="img" :src="item" alt= 阅读全文
posted @ 2020-05-11 18:03 小那 阅读(7995) 评论(4) 推荐(1) 编辑
摘要: 1、下载cos-js-sdk-v5.js 下载地址:https://gitee.com/hxnamei/codes/b492wkvnher15p6xyz0q887 2、引入cos-js-sdk-v5.js文件 import COS from '../../../public/jslib/cos-js 阅读全文
posted @ 2020-05-11 16:06 小那 阅读(3053) 评论(0) 推荐(0) 编辑
摘要: localStorage.getItem('ip'); //ip地址 window.location.href; //url 阅读全文
posted @ 2020-05-11 14:08 小那 阅读(218) 评论(0) 推荐(0) 编辑
摘要: <head> </head> <body> </body> <script> var RTCPeerConnection = /*window.RTCPeerConnection ||*/ window.webkitRTCPeerConnection || window.mozRTCPeerConn 阅读全文
posted @ 2020-05-11 14:05 小那 阅读(526) 评论(0) 推荐(0) 编辑
摘要: this.$refs.table.resetFields(); //table是表单的名称 例子: html <el-form :rules="rules" ref="formLabelAlign" :label-position="labelPosition" label-width="120px 阅读全文
posted @ 2020-05-11 10:46 小那 阅读(4054) 评论(0) 推荐(0) 编辑
摘要: <meta content="width=device-width, height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport"> <m 阅读全文
posted @ 2020-05-11 10:39 小那 阅读(449) 评论(0) 推荐(0) 编辑