cmake_minimum_required(VERSION 2.8) project(MY_GRAND_PROJECT) find_package(PCL 1.3 REQUIRED COMPONENTS common io) include_directories(${PCL_INCLUDE_DI... ...
分类:
系统相关 时间:
2018-12-16 18:19:33
阅读次数:
252
在react中,为了解决html标签构建应用的不足,将公共的功能单独抽离成一个文件作为一个组件,在使用的地方按需引入,既然是组件彼此调用,就会涉及到父子组件的通信,下面主要来总结简单的组件通信。 1,项目准备 在开始组件通信前,先在components中新建两个文件,News.js和Header.j ...
分类:
其他好文 时间:
2018-12-15 23:18:33
阅读次数:
240
路由配置{ path: '/finance', name: 'Finance', meta: { title: '财务' }, component: () => import('@/components/Finance'), redirect: '/finance/code/code', child ...
分类:
其他好文 时间:
2018-12-12 23:44:43
阅读次数:
289
问题描述: main.js 为什么已经定义了 components: { App } ,还需要 template: '<App/>' ? 问题解答: el: '#app' :是指向 index.html 的<div id="app"></div>元素,该元素作为vue的挂载点 components ...
分类:
其他好文 时间:
2018-12-12 14:52:33
阅读次数:
162
准备需要加入DFU功能的工程 在工程main文件services_init函数中加入DFU服务 加入DFU事件处理函数 加入几个必要的文件到工程 SDK_14.2.0工程\components\ble\ble_services\ble_dfu下的 SDK_14.2.0工程\components\li ...
分类:
其他好文 时间:
2018-12-10 13:55:23
阅读次数:
919
1、下面使用方法是正确的:export class StepLoad extends React.Component {}引用上面插件的方法,重命名 import {StepLoad as StepLoadGraph} from "./components/echart/StepLoad" 2、下面 ...
分类:
其他好文 时间:
2018-12-06 14:20:43
阅读次数:
222
其实原理很简单,兴个粟子, 点击按钮出现 dialog 弹出杠, 将dialog做成一个组件,components/dialog.vue 就是在components里面新建一个vue.将这个vue做为dialog的组件包容器, 哪里需要用到直接采用 @import "./components/dia ...
分类:
其他好文 时间:
2018-12-06 00:02:21
阅读次数:
486
styled-components 最新版本是v4.1.2,但是从v4开始,就酱原来的injectGlobal方法用createGlobalStyle替换了。用法上也有一些不同了: 我今天直接引injectGlobal照原来的方法使用,就一直报错 说styled-components库里没有抛出这个 ...
分类:
其他好文 时间:
2018-12-04 14:49:36
阅读次数:
206
redux描述 首先redux 有3大组成部分 1.store2. action .3reducer 还有边外的 components, 如何触发action 呢?首先的拿到store对象,store对象是通过 redux中的createStore()创建的,他有两个参数,第一个是reducer, ...
分类:
其他好文 时间:
2018-12-01 15:31:35
阅读次数:
95
1 namespace pdf2image.O2S.Components.PDFRender4NET 2 { 3 public static class Program 4 { 5 public enum Definition 6 { 7 One = 1, Two = 2, Three = 3, F ...