palxiao / poster-design

一款漂亮且功能强大的在线海报设计器,图片编辑器,仿稿定设计,适用于多种场景:海报生成、电商产品图、文章长图、视频/公众号封面等。A beautiful online image designer, suitable for various scenarios like generate posters, making design easier!
https://design.palxp.cn
MIT License
3.76k stars 583 forks source link

本地服务启动后开始报错,一些功能无法正常使用 #155

Open Code-dogcreatior opened 3 months ago

Code-dogcreatior commented 3 months ago

刚启动控制台的返回为:localhost:7001/design/list?search=&page=1&pageSize=20&cate=1:1 Failed to load resource: net::ERR_CONNECTION_REFUSED createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:15) at XMLHttpRequest.handleError (xhr.js:99:14)

当上传图像时失败,显示报错信息为: axios.ts:98

    GET http://localhost:7001/design/imgs?cate=1&pageSize=2 net::ERR_CONNECTION_REFUSED

dispatchXhrRequest @ xhr.js:187 xhrAdapter @ xhr.js:13 dispatchRequest @ dispatchRequest.js:53 Promise.then request @ Axios.js:88 Axios. @ Axios.js:129 wrap @ bind.js:9 fetch @ axios.ts:98 getImagesList @ material.ts:92 (匿名) @ PhotoListWrap.vue:82 (匿名) @ runtime-core.esm-bundler.js:2872 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 hook.weh.hook.weh @ runtime-core.esm-bundler.js:2852 flushPostFlushCbs @ runtime-core.esm-bundler.js:367 flushJobs @ runtime-core.esm-bundler.js:405 Promise.then queueFlush @ runtime-core.esm-bundler.js:308 queueJob @ runtime-core.esm-bundler.js:302 scheduler @ runtime-core.esm-bundler.js:1963 resetScheduling @ reactivity.esm-bundler.js:264 trigger @ reactivity.esm-bundler.js:404 set @ reactivity.esm-bundler.js:525 clickClassify @ widgetPanel.vue:40 onClick @ widgetPanel.vue:5 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 invoker @ runtime-dom.esm-bundler.js:681 显示 21 更多框架 显示简略信息 createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:15) at XMLHttpRequest.handleError (xhr.js:99:14) createError @ createError.js:16 handleError @ xhr.js:99 Promise.catch callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:201 hook.weh.hook.weh @ runtime-core.esm-bundler.js:2852 flushPostFlushCbs @ runtime-core.esm-bundler.js:367 flushJobs @ runtime-core.esm-bundler.js:405 Promise.then queueFlush @ runtime-core.esm-bundler.js:308 queueJob @ runtime-core.esm-bundler.js:302 scheduler @ runtime-core.esm-bundler.js:1963 resetScheduling @ reactivity.esm-bundler.js:264 trigger @ reactivity.esm-bundler.js:404 set @ reactivity.esm-bundler.js:525 clickClassify @ widgetPanel.vue:40 onClick @ widgetPanel.vue:5 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 invoker @ runtime-dom.esm-bundler.js:681 显示 15 更多框架 显示简略信息 axios.ts:98

    GET http://localhost:7001/design/user/image?page=1 net::ERR_CONNECTION_REFUSED

dispatchXhrRequest @ xhr.js:187 xhrAdapter @ xhr.js:13 dispatchRequest @ dispatchRequest.js:53 Promise.then request @ Axios.js:88 Axios. @ Axios.js:129 wrap @ bind.js:9 fetch @ axios.ts:98 getMyPhoto @ material.ts:111 load @ UserWrap.vue:106 (匿名) @ UserWrap.vue:157 (匿名) @ runtime-core.esm-bundler.js:2872 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 hook.weh.hook.weh @ runtime-core.esm-bundler.js:2852 flushPostFlushCbs @ runtime-core.esm-bundler.js:367 flushJobs @ runtime-core.esm-bundler.js:405 Promise.then queueFlush @ runtime-core.esm-bundler.js:308 queueJob @ runtime-core.esm-bundler.js:302 scheduler @ runtime-core.esm-bundler.js:1963 resetScheduling @ reactivity.esm-bundler.js:264 trigger @ reactivity.esm-bundler.js:404 set @ reactivity.esm-bundler.js:525 clickClassify @ widgetPanel.vue:40 onClick @ widgetPanel.vue:5 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 invoker @ runtime-dom.esm-bundler.js:681 显示 21 更多框架 显示简略信息 createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:15) at XMLHttpRequest.handleError (xhr.js:99:14) createError @ createError.js:16 handleError @ xhr.js:99 Promise.then load @ UserWrap.vue:106 (匿名) @ UserWrap.vue:157 (匿名) @ runtime-core.esm-bundler.js:2872 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 hook.weh.hook.weh @ runtime-core.esm-bundler.js:2852 flushPostFlushCbs @ runtime-core.esm-bundler.js:367 flushJobs @ runtime-core.esm-bundler.js:405 Promise.then queueFlush @ runtime-core.esm-bundler.js:308 queueJob @ runtime-core.esm-bundler.js:302 scheduler @ runtime-core.esm-bundler.js:1963 resetScheduling @ reactivity.esm-bundler.js:264 trigger @ reactivity.esm-bundler.js:404 set @ reactivity.esm-bundler.js:525 clickClassify @ widgetPanel.vue:40 onClick @ widgetPanel.vue:5 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 invoker @ runtime-dom.esm-bundler.js:681 显示 17 更多框架 显示简略信息 axios.ts:104

    POST http://localhost:7001/api/file/upload net::ERR_CONNECTION_REFUSED

dispatchXhrRequest @ xhr.js:187 xhrAdapter @ xhr.js:13 dispatchRequest @ dispatchRequest.js:53 Promise.then request @ Axios.js:88 Axios. @ Axios.js:140 wrap @ bind.js:9 fetch @ axios.ts:104 upload @ material.ts:149 (匿名) @ index.vue:125 qiNiuUpload @ index.vue:120 uploadQueue @ index.vue:98 upload @ index.vue:90 doUpload @ upload-content.vue:187 await in doUpload upload @ upload-content.vue:124 await in upload uploadFiles @ upload-content.vue:80 handleChange @ upload-content.vue:197 callWithErrorHandling @ runtime-core.esm-bundler.js:192 callWithAsyncErrorHandling @ runtime-core.esm-bundler.js:199 invoker @ runtime-dom.esm-bundler.js:681 显示 9 更多框架 显示简略信息 createError.js:16 Uncaught (in promise) Error: Network Error at createError (createError.js:16:15) at XMLHttpRequest.handleError (xhr.js:99:14)