摘要:
1、修改config文件夹里的dev.env.js里的BASE_API,把地址改成请求后端的公共部分 1 BASE_API: '"http://192.168.xx.xx"', 1 BASE_API: '"http://192.168.xx.xx"', 1 BASE_API: '"http://19
阅读全文
posted @ 2019-02-27 11:57
伊人怎会持宠而骄
阅读(2620)
推荐(1)
编辑
摘要:
// router.jsimport Vue from 'vue'import VueRouter from 'vue-router' Vue.use(VueRouter) const routes = [ { path: '/', component: require('./views/Home'
阅读全文
posted @ 2019-02-27 11:48
伊人怎会持宠而骄
阅读(535)
推荐(0)
编辑
摘要:
登录注册页面都分为上下两个部分,其中上部是logo,下部分是输入框,所以抽离出来三个组件 logo import React from 'react'import logoImg from './job.png'import './logo.css' class Logo extends React
阅读全文
posted @ 2019-02-27 11:44
伊人怎会持宠而骄
阅读(4035)
推荐(0)
编辑
摘要:
1、首先创建 这几个文件 myths-Mac:JdApp myth$ yarn add react-native-tab-navigator 2、各个文件完整代码 1)CartPage.js import React, { Component } from 'react';import { Styl
阅读全文
posted @ 2019-02-27 11:38
伊人怎会持宠而骄
阅读(1081)
推荐(0)
编辑
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>React</title> <script src="https://unpkg.com/react@15.3.2/dist/react.js"></script> <scrip
阅读全文
posted @ 2019-02-27 11:23
伊人怎会持宠而骄
阅读(76)
推荐(0)
编辑
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>React</title> <script src="https://unpkg.com/react@15.3.2/dist/react.js"></script> <scrip
阅读全文
posted @ 2019-02-27 11:23
伊人怎会持宠而骄
阅读(91)
推荐(0)
编辑
摘要:
<!DOCTYPE html><html> <head> <meta charset="UTF-8" /> <title>Hello React</title> <script src="https://unpkg.com/react@15.3.2/dist/react.js"></script>
阅读全文
posted @ 2019-02-27 11:22
伊人怎会持宠而骄
阅读(816)
推荐(0)
编辑
摘要:
import React, { Component } from 'react'; import {Tabs} from './Tabs' import 'whatwg-fetch' import '../assets/css/Tab3.css' import {Link} from 'react-
阅读全文
posted @ 2019-02-27 11:20
伊人怎会持宠而骄
阅读(298)
推荐(0)
编辑
摘要:
...this.state = { // 全部数据 addressJobs: [ { address: '北京', jobs: ['北京职位1', '北京职位2', '北京职位3', '北京职位4', '北京职位5', '北京职位6', '北京职位7', '北京职位8', '北京职位9'] }, {
阅读全文
posted @ 2019-02-27 11:19
伊人怎会持宠而骄
阅读(547)
推荐(0)
编辑