摘要: 海康视频插件web文档 渲染组件后,调用initPlugin函数,传入一个code数组 <template> <div :title="name" :id="id" :style="{width:swfWidth+'px',height:swfHeight+'px'}" class="showvid 阅读全文
posted @ 2022-04-28 13:49 cuteyuchen 阅读(614) 评论(0) 推荐(0) 编辑
摘要: 在刷抖音时看到的position:fixed的问题 意思就是fixed定位一般情况下是按照页面的根元素的位置设置定位的,但是一旦其上级节点有任意一个有transform,perspective或者filter属性时,该元素就会按照设置了这些属性的第一个找到的元素进行固定定位。 数组中有若干个都是正整 阅读全文
posted @ 2022-04-28 13:45 cuteyuchen 阅读(157) 评论(0) 推荐(0) 编辑
摘要: 'use strict' import axios from 'axios' import qs from 'qs' import Vue from 'vue' //内外网打包 var x if (!window.location.origin) { x = window.location.prot 阅读全文
posted @ 2022-04-26 16:10 cuteyuchen 阅读(356) 评论(0) 推荐(0) 编辑
摘要: vue根据后端菜单自动生成路由(动态路由) router.js import Vue from 'vue' import Router from 'vue-router' import store from '../store' import generateRouter from './gener 阅读全文
posted @ 2022-04-26 16:03 cuteyuchen 阅读(1591) 评论(0) 推荐(0) 编辑
摘要: /** * 获取地图上的图层对象 * @param map 地图对象 * @param layerName 实例化图层时的name * @return {null}*/ getLayerByLayerName: (map, layerName) => { if (!map) { throw new 阅读全文
posted @ 2022-04-24 15:10 cuteyuchen 阅读(259) 评论(0) 推荐(0) 编辑
摘要: // 树转数组树 function treeTolistTree(arr) { var res = [] !(function fn(arr) { arr.forEach(function (item, index) { res.push(item) if (item.hasChild && ite 阅读全文
posted @ 2022-04-24 15:00 cuteyuchen 阅读(154) 评论(0) 推荐(0) 编辑
摘要: python2源码压缩包 Python-2.7.9.tgz Python-2.7.10.tgz Python-2.7.11.tgz Python-2.7.12.tgz Python-2.7.13.tgz Python-2.7.14.tgz Python-2.7.15.tgz Python-2.7.1 阅读全文
posted @ 2019-11-11 21:12 cuteyuchen 阅读(7365) 评论(2) 推荐(3) 编辑