1.0.6 • Published 4 years ago

react-user-log v1.0.6

Weekly downloads
8
License
ISC
Repository
-
Last release
4 years ago

Install

npm i react-user-log

Usage

import React from 'react'
import UserLog from 'UserLog'

class Demo extends React.Component {
    constructor() {
        super();
        this.state = {
            userId: "1",
            userName: "admin",
            pageName: "主页",
            pageUrl: "/home",
            routeId: String(Math.random()),
            wsApiPrefix: 'wx://localhost',
            appType: 1
        }
    }


    render() {
        const { userId, userName, pageName, pageUrl, routeId } = this.state;
        const UserLogProps = { userId, userName, pageName, pageUrl, routeId };

        return <UserLog {...UserLogProps} />;
    }
}

export default Demo;
1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

5 years ago

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago