页面跳转出错?

小程序 文章 2022-03-28 09:00 330 0 全屏看文

AI助手支持GPT4.0

页面跳转出错?Page jump error?

页面跳转出错?

当e.detail.value(既log中的携带值)为2和3时,都跳转到result页面而不是result2,这是为啥?

When e.detail When the value (i.e. the value carried in the log) is 2 and 3, you jump to the result page instead of result2. Why?

回答:

Mr.Zhao:

注意类型啊

藻雪:不是类型问题是语句不对,或返回第一个正确的表达式
藻雪:

你这语句写的看的很难别扭,总感觉不对,给自己挖坑

brave:

偷懒不是这么偷的 js基础没打好?

-EOF-

AI助手支持GPT4.0