Giter Club home page Giter Club logo

Comments (12)

laskkp avatar laskkp commented on June 12, 2024

可以给我一个联系方式吗?

from poprun.

losingwings avatar losingwings commented on June 12, 2024

项目跑起来 开发者工具预览有动态 但是 在真机调试的时候 在跑步地图界面报[Object object] 个人界面一直转圈加载不出来 小程序后台配置合法域名,request、uploadFile、downloadFile合法域名为:https://dev.run.nunet.cn/ 还是有问题

from poprun.

Chef5 avatar Chef5 commented on June 12, 2024

项目跑起来 开发者工具预览有动态 但是 在真机调试的时候 在跑步地图界面报[Object object] 个人界面一直转圈加载不出来 小程序后台配置合法域名,request、uploadFile、downloadFile合法域名为:https://dev.run.nunet.cn/ 还是有问题

真机调试不用配置合法域名,可以根据以下步骤尝试:

  1. 微信开发者工具,右上角点开详情,找到本地设置,打开“不校验合法域名、web-view.....”
  2. 手机和电脑连接同一个wifi,查看电脑ip地址,通常为:192.168.xx.xx
  3. 在后端项目根目录下用这个命令运行:php -S 192.168.xx.xx:8000 -t public,192.168.xx.xx为自己电脑的ip地址
  4. 修改微信小程序app.js 67行getHostUrl方法中的地址hosturl为:http://192.168.xx.xx:8000

https://dev.run.nunet.cn/ 该域名是我之前上线用的,配置的appid是我之前的小程序,因此你这边无法使用哈

from poprun.

losingwings avatar losingwings commented on June 12, 2024

你好 请问一下开发手册:https://www.yuque.com/hg64tq(已失效) 还能看吗

from poprun.

Chef5 avatar Chef5 commented on June 12, 2024

你好 请问一下开发手册:https://www.yuque.com/hg64tq(已失效) 还能看吗

没了,当时只是记录了一些公用方法的使用说明。

from poprun.

losingwings avatar losingwings commented on June 12, 2024

image

你好 请问一下 那个发布动态的图片上传有以上的错误 我查了都说接口地址没定义 但是其他的上传图片的同一api接口没问题 能请教一下吗
文件在pages\moments\newMoment\newMoment.js里面

from poprun.

Chef5 avatar Chef5 commented on June 12, 2024
image

你好 请问一下 那个发布动态的图片上传有以上的错误 我查了都说接口地址没定义 但是其他的上传图片的同一api接口没问题 能请教一下吗 文件在pages\moments\newMoment\newMoment.js里面

后端bug,已修复:Chef5/PopRun-b@02c8f46

from poprun.

losingwings avatar losingwings commented on June 12, 2024
image 你好 请问一下 那个发布动态的图片上传有以上的错误 我查了都说接口地址没定义 但是其他的上传图片的同一api接口没问题 能请教一下吗 文件在pages\moments\newMoment\newMoment.js里面

后端bug,已修复:Chef5/PopRun-b@02c8f46

哥 你的动态可以传图片吗 我修改了后端还是报同样的错误 会不会是前端的bug .^◡^.

from poprun.

Chef5 avatar Chef5 commented on June 12, 2024
image 你好 请问一下 那个发布动态的图片上传有以上的错误 我查了都说接口地址没定义 但是其他的上传图片的同一api接口没问题 能请教一下吗 文件在pages\moments\newMoment\newMoment.js里面

后端bug,已修复:Chef5/PopRun-b@02c8f46

哥 你的动态可以传图片吗 我修改了后端还是报同样的错误 会不会是前端的bug .^◡^.

我这边都是正常的,你排查一下:
onReadfile: function(event) 中 event.detail.file 是否包含图片path,组件文档:https://youzan.github.io/vant-weapp/#/uploader

from poprun.

losingwings avatar losingwings commented on June 12, 2024
image 你好 请问一下 那个发布动态的图片上传有以上的错误 我查了都说接口地址没定义 但是其他的上传图片的同一api接口没问题 能请教一下吗 文件在pages\moments\newMoment\newMoment.js里面

后端bug,已修复:Chef5/PopRun-b@02c8f46

哥 你的动态可以传图片吗 我修改了后端还是报同样的错误 会不会是前端的bug .^◡^.

我这边都是正常的,你排查一下: onReadfile: function(event) 中 event.detail.file 是否包含图片path,组件文档:https://youzan.github.io/vant-weapp/#/uploader

我把了 onReadfile:fuction(event)中的filePath: item.path改成了 filePath: item.url就成了^◡^

from poprun.

Alive102 avatar Alive102 commented on June 12, 2024

哥我想问一下,为什么动态发布按了过后没有反应,登录\注册也是按了没反应

from poprun.

Chef5 avatar Chef5 commented on June 12, 2024

哥我想问一下,为什么动态发布按了过后没有反应,登录\注册也是按了没反应

可能是小程序有报错阻塞了正常的点击操作,可以打开小程序调试查看具体情况

from poprun.

Related Issues (16)

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.