const defaultFiles = [ ] export default defaultFiles // 使用 const defaultFiles = require('./src/utils/defaultFiles ') //编译时报错:SyntaxError: Unexpected t ...
分类:
其他好文 时间:
2021-01-14 11:28:14
阅读次数:
0
html: <div v-for="item in lunBoArray" :key="item.id"> <img style="height: 100%;width: 100%" :src="item.url"/> </div> js--data 绑定数据 lunBoArray:[{ url:r ...
分类:
其他好文 时间:
2021-01-14 10:33:45
阅读次数:
0
###方法一: 通过PHPOffice(推荐) 1: composer require phpoffice/phpword ``` /* 通过composer安装 PHPOffice 需要 或者用中国镜像:https://www.phpcomposer.com/ */ ``` 2: 安装成功可看到 ...
分类:
Web程序 时间:
2021-01-14 10:30:45
阅读次数:
0
通用 缩进两个空格 等号两边留有空格 文件名为 my-component 组件名 React 文件名:帕斯卡命名 MyComponents ESlint <Foo superLongParam="bar" anotherSuperLongParam="baz" /> <Foo bar="bar" / ...
分类:
其他好文 时间:
2021-01-13 11:16:51
阅读次数:
0
Laravel Package for Matching Engine 快速开始 github地址 安装: composer require sting_bo/mengine 复制配置文件: php artisan vendor:publish 依赖 predis 号外 已经出Golang微服务撮合 ...
分类:
Web程序 时间:
2021-01-12 11:24:44
阅读次数:
0
ScrollView的refreshControl属性用于下拉刷新,只能用于垂直视图,即horizontal不能为true。 1.创建自定义CKRefresh.js刷新组件 1 import React,{Component} from 'react'; 2 import { 3 View, 4 T ...
分类:
其他好文 时间:
2021-01-12 11:22:43
阅读次数:
0
ScrollView组件常用于轮播图或引导页,那么水平滚动则比较常用 自定义水平的CKScrollView.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 Text, 5 StyleSheet, 6 Scroll ...
分类:
其他好文 时间:
2021-01-12 11:05:38
阅读次数:
0
1.创建自定义CKButton.js组件类 1 import React,{Component} from 'react'; 2 import { 3 View, 4 StyleSheet, 5 Button, 6 TouchableOpacity, 7 Text 8 } from 'react-n ...
分类:
其他好文 时间:
2021-01-12 10:48:48
阅读次数:
0
一、父组件向子组件传值 通过props来实现,子组件通过props来接收父组件传过来的值! 1、逻辑梳理 父组件中: 第一步:引入子组件; 1 import sonShow from '@/component/son.vue'; 第二步:在components中对子组件进行注册; 1 compone ...
分类:
移动开发 时间:
2021-01-11 10:59:13
阅读次数:
0
安装 composer require aliyuncs/oss-sdk-php 基类 <?php /** * Created by PhpStorm. * User: ZhangYongFeng * Date: 2021/1/5 * Time: 16:37 * ━━━━━━━━━神兽出没━━━━━ ...
分类:
Web程序 时间:
2021-01-08 11:36:39
阅读次数:
0