Giter VIP home page Giter VIP logo

xmall-front's People

Contributors

exrick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xmall-front's Issues

单体源码使用性

您好,我收到的单体版的源码里面还是要部署java项目接口来运行的,请问有没有单体运行版,也就是只用本地数据而不用接口的版本呢,因为我不是做java的所以只想要个前端数据的界面,后端我自己写

JDK1.8,语法出错

[ERROR] /E:/前后端商场管理系统/xmall-master/xmall-manager/xmall-manager-service/src/main/java/cn/exrick/manager/service/impl/ItemServiceImpl.java:[249,69] 从内部类中访问本地变量type; 需要被声明为最终类型
[ERROR] /E:/前后端商场管理系统/xmall-master/xmall-manager/xmall-manager-service/src/main/java/cn/exrick/manager/service/impl/ItemServiceImpl.java:[249,93] 从内部类中访问本地变量id; 需要被声明为最终类型

node用哪个版本?

我打开项目右下角有聊天,页面一片空白,
是我Node版本不对吗?
你node装几点几的,我的是v6.9.5

运行出现问题

您好,您README.md的那个演示地址无法打开了,放在本地运行的话也是会出现空白页面的问题

:key v-for

image在这里key值会冲突 报错,使用了这种方法解决

按照步骤运行项目失败

npm run dev 后报错,如下

**
root@gzr-Aspire-V5-552G:/var/www/html/vue-mall# npm run dev

[email protected] dev /var/www/html/vue-mall
node build/dev-server.js

[HPM] Proxy created: /users/* -> http://mall.yucccc.com:3333/
[HPM] Proxy created: /goods/* -> http://mall.yucccc.com:3333

Starting dev server...

ERROR Failed to compile with 1 errors 20:49:21

This dependency was not found:

  • /page/login/login in ./src/router/index.js

To install it, you can run: npm install --save /page/login/login

Listening at http://localhost:9999

**
浏览器显示 cannot get /
请问如何解决?

后端已经起好了,前段有借口报500

我是本地起的后端,后端管理页面是正常,起前端页面报错了,前端框架不怎么熟悉。。。
控制台报这个错误:
spread.js:25 GET http://localhost:9999/member/checkLogin 500 (Internal Server Error)
spread.js:25 Uncaught (in promise) Error: Request failed with status code 500
at e.exports (https://cdn.bootcss.com/axios/0.17.1/axios.min.js:8:4479)
at e.exports (https://cdn.bootcss.com/axios/0.17.1/axios.min.js:8:4321)
at XMLHttpRequest.l.(anonymous function) (https://cdn.bootcss.com/axios/0.17.1/axios.min.js:8:3278)
e.exports @ spread.js:25
e.exports @ spread.js:25
l.(anonymous function) @ spread.js:25
client.js?7955:183 [HMR] bundle has 1 warnings
client.js?7955:184 ./src/page/Home/home.vue

http://eslint.org/docs/rules/no-trailing-spaces Trailing spaces not allowed
E:\微信商城\xmall-front-master\xmall-front-master\src\page\Home\home.vue:105:10
}
^

✘ 1 problem (0 errors, 1 warning)

Warnings:
1 http://eslint.org/docs/rules/no-trailing-spaces
@ ./src/router/index.js 13:9-38
@ ./src/main.js
@ multi ./build/dev-client ./src/main.js

toFixed

image
在 mallGoods.vue 组件中 msg.salePrice 是字符串,使用toFixed会报错, 使用Number(msg.salePrice).toFixed(2)解决掉了

跨域问题如何解决

根据你的一些配置部署到服务器。后端接口在7777端口,前台商城在9999,如何解决跨域问题?

npm无法build,cnpm使用run dev启动后端口正常监听,但是页面白屏

我使用npm install,会有一大堆错误。使用cnpm instlall,正常,使用cnpm run build正常,使用cnpm run dev的时候,有如下错误:哪位老哥见过了,帮忙给解决下,谢谢,哈
[root@c629d66f26ee xmall-front]# cnpm run dev

[email protected] dev /xmall/code/xmall-front
node build/dev-server.js

[HPM] Proxy created: /member/* -> http://127.0.0.1:7777
[HPM] Proxy created: /goods/* -> http://127.0.0.1:7777

Starting dev server...

DONE Compiled successfully in 7562ms 05:39:55

Listening at http://localhost:9999

(node:4408) UnhandledPromiseRejectionWarning: Error: Exited with code 3
at ChildProcess. (/xmall/code/xmall-front/node_modules/_opn@4.0.2@opn/index.js:83:13)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:925:16)
at Socket.stream.socket.on (internal/child_process.js:346:11)
at emitOne (events.js:116:13)
at Socket.emit (events.js:211:7)
at Pipe._handle.close [as _onclose] (net.js:567:12)
(node:4408) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:4408) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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.