iview / iview/iview-admin

打包部署后登录时出现内部服务错误

Open
#875 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
16.3k
Forks
4.7k
PR merge metrics
No merged PRs in 30d

Description

chunk-vendors.4018f9fe.js:35 OPTIONS https://produce.com/login 0 ()
(anonymous) @ chunk-vendors.4018f9fe.js:35
e.exports @ chunk-vendors.4018f9fe.js:35
e.exports @ chunk-vendors.4018f9fe.js:13
Promise.then (async)
s.request @ chunk-vendors.4018f9fe.js:1
(anonymous) @ chunk-vendors.4018f9fe.js:1
value @ app.8395146c.js:1
et @ app.8395146c.js:1
(anonymous) @ app.8395146c.js:1
handleLogin @ app.8395146c.js:1
(anonymous) @ chunk-vendors.4018f9fe.js:13
p.dispatch @ chunk-vendors.4018f9fe.js:13
dispatch @ chunk-vendors.4018f9fe.js:13
n.(anonymous function) @ chunk-vendors.4018f9fe.js:13
handleSubmit @ chunk-2c1f.d2fff7ac.js:1
t @ chunk-vendors.4018f9fe.js:7
At.e.$emit @ chunk-vendors.4018f9fe.js:7
(anonymous) @ chunk-2c1f.d2fff7ac.js:1
(anonymous) @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
_ @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
c @ chunk-vendors.4018f9fe.js:67
a @ chunk-vendors.4018f9fe.js:67
c @ chunk-vendors.4018f9fe.js:67
A @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
a @ chunk-vendors.4018f9fe.js:67
h @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
v @ chunk-vendors.4018f9fe.js:67
validate @ chunk-vendors.4018f9fe.js:67
validate @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
(anonymous) @ chunk-vendors.4018f9fe.js:67
t @ chunk-vendors.4018f9fe.js:42
validate @ chunk-vendors.4018f9fe.js:67
handleSubmit @ chunk-2c1f.d2fff7ac.js:1
t @ chunk-vendors.4018f9fe.js:7
At.e.$emit @ chunk-vendors.4018f9fe.js:7
handleClickLink @ chunk-vendors.4018f9fe.js:67
t @ chunk-vendors.4018f9fe.js:7
e._withTask.e._withTask @ chunk-vendors.4018f9fe.js:7
chunk-vendors.4018f9fe.js:7 Uncaught (in promise) Error: Network Error
at e.exports (chunk-vendors.4018f9fe.js:7)
at XMLHttpRequest.h.onerror (chunk-vendors.4018f9fe.js:35)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the deployed login request and inspect the browser network entry for the OPTIONS request to https://produce.com/login. Trace the request from handleLogin in app.8395146c.js and the surrounding generated chunks, then compare the deployed response with the expected login flow. Done means deployment no longer produces the Network Error during login.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication, frontend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.