Giter Site home page Giter Site logo

okhelper-web's Issues

Linux运行失败,node module报错

在linux上npm install之后npm run dev运行,报如下错误:
ERROR Failed to compile with 2 errors 4:52:12 PM

error in ./src/main.js

Syntax Error: /root/okhelper-web-master/node_modules/babel-plugin-import/lib/Plugin.js:61
return {...pluginState.selectedMethods[methodName]};
^^^

SyntaxError: Unexpected token ...

@ multi (webpack)-dev-server/client?http://localhost:8088 webpack/hot/dev-server ./src/main.js

error in (webpack)-dev-server/client?http://localhost:8088

Syntax Error: /root/okhelper-web-master/node_modules/babel-plugin-import/lib/Plugin.js:61
return {...pluginState.selectedMethods[methodName]};
^^^

SyntaxError: Unexpected token ...

@ multi (webpack)-dev-server/client?http://localhost:8088 webpack/hot/dev-server ./src/main.js

UserServiceImpl.java 414行存储 token 的时候 是不是应该是 token?

    String secret = PasswordHelp.passwordSalt(user.getUserName(), user.getUserPassword());

    //如果一小时内过期,补签Token
    if (expiresAt != null && date.after(expiresAt)) {
        String token = JWTUtil.sign(user.getId(), user.getUserName(), secret, user.getStoreId());

414// userVo.setToken(secret);
}

web界面

请问只是适配了手机端H5界面吗?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.