Giter Site home page Giter Site logo

snailcloudmusic's Introduction

蜗牛云音乐-微信小程序(尝试)

借助工具:

底部导航栏配置

发现:wepy的页面文件,重命名后原来生成的旧文件不会被覆盖,而是会重新生成新文件 目前新建页面的步骤是:

遇到问题:

wepy 格式校验报错
解决:(猜想,实践有效)单条js语句后不必加分号,对象里最后一项不能有逗号,缩进规则不能跟设定不符,

小程序控制台: pages/find/index.js 出现脚本错误或者未正确调用 Page()
网上答案:原生小程序代码下这个错误是因为所引用的js文件为空,需要设置Page({})即可,另有人说将es6转es5关闭即可(暂试无效)

推论:既然为空报错,所以在js代码中加上一句执行语句,使之不为空即可;

snailcloudmusic's People

Stargazers

 avatar

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.