vue api
阿振斯邦德
这个作者很懒,什么都没留下…
展开
-
关于校验的封装
// 校验的封装 /** * @Author: Zhouc52 * @Date: 2019/09/18 9:30 * 工具类,公用方法写在这里 */ import router from './../router/index' import {Message,MessageBox} from 'element-ui' import FileSaver from 'file-saver' const commTool = { strIsEmpty: function (str) { i原创 2021-08-30 17:12:17 · 118 阅读 · 0 评论 -
vue 获取当前IP地址
vue 获取当前IP地址 贴--代--码. // An highlighted block data() { return { getIp: "" }; }, created() { this.getLocalIp(); // 获取用户ip }, methods: { getLocalIp() { this.getIp= returnCitySN["cip"]; console.log(this.getIp); },原创 2021-08-30 11:39:52 · 1555 阅读 · 0 评论