hanxue10180 / shangcheng Goto Github PK
View Code? Open in Web Editor NEW微信小程序微商城(仿拼多多)
微信小程序微商城(仿拼多多)
这是在search组件中
methods = {
async search(){
const json = await api.getGoodsList({
query: {
page: 1,
size: 10,
searchKeyWords: this.search_input_value,
cateCode: this.cateCode || "",
sort: -1,
skuval: ""
}
});
console.log(json);
}
大神请教一个问题 ,为啥我照着你的写出来这里的 json 获取不到值 打印出来是e {}
,这是什么情况??
从Network中看,数据是请求到了的 ,但为啥从json中打印不出来?望指教!
楼主是否考虑做个商业版的,放在应用市场上售卖http://market.zhenzikj.com
邀请您免费入驻
打开之后报了这个错:Expect START descriptor with depth 2 but get another,好像是调用组件错误,可以帮我解决下嘛
project.config.json文件把appid暴露啦,感觉这个还是不共享为好
这个小程序的后端接口报错,看不出效果了,楼主能辛苦把后端接口跑起来,看看效果吗
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.