上一页 1 2 3 4 5 6 7 ··· 13 下一页
摘要: 1.不能存在分号 2.冒号前面要留空格 3.函数名后要有空格 阅读全文
posted @ 2019-02-26 17:49 一叶*秋 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 这是需要在src目录下新增一个static文件夹即可 阅读全文
posted @ 2019-02-26 16:33 一叶*秋 阅读(923) 评论(0) 推荐(0) 编辑
摘要: :style="{height: partOneHeight + 'px',paddingBottom: 10 + 'px'}" 阅读全文
posted @ 2019-02-19 16:00 一叶*秋 阅读(1042) 评论(0) 推荐(0) 编辑
摘要: https://reactnavigation.org/docs/en/getting-started.html#installation https://github.com/react-navigation/react-navigation/issues/5540; yarn add react 阅读全文
posted @ 2019-02-15 08:49 一叶*秋 阅读(359) 评论(0) 推荐(0) 编辑
摘要: 安装:yarn add react-native-video react-native link react-native-video 阅读全文
posted @ 2019-02-12 14:07 一叶*秋 阅读(2179) 评论(0) 推荐(0) 编辑
摘要: 1.安装:yarn add react-native-sound react-native link react-native-sound 2. import React, {Component} from 'react';import { StyleSheet, Text, View } from 阅读全文
posted @ 2019-02-12 14:05 一叶*秋 阅读(3212) 评论(0) 推荐(0) 编辑
摘要: 侧滑功能react-native-swipe-list-view list列表有操作按钮 阅读全文
posted @ 2019-01-31 09:58 一叶*秋 阅读(334) 评论(0) 推荐(0) 编辑
摘要: this.$watch this.$watch('value.series', (n, o) => { this.init();}) watch watch:{ value(n, o) {// debugger } }, 阅读全文
posted @ 2019-01-30 10:03 一叶*秋 阅读(4750) 评论(0) 推荐(0) 编辑
摘要: 参考https://segmentfault.com/a/1190000014165693同事解决其发生的问题1.版本 "mobx": "4.3.1","mobx-react": "5.1.0",否则会报错2.安装 yarn add babel-plugin-transform-decorators 阅读全文
posted @ 2019-01-07 17:23 一叶*秋 阅读(1374) 评论(0) 推荐(0) 编辑
摘要: ///将扁平化之后的数组还原成树 buildTree = (list) => { let dataArray = []; list.forEach(item=>{ if(item._parent_path ''){ dataArray.push(item); } }); return this.da 阅读全文
posted @ 2018-12-25 09:37 一叶*秋 阅读(844) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 13 下一页

博客侧边栏公告广告位招租