Git Product home page Git Product logo

lightning-load-project's People

Contributors

unmagic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

lightning-load-project's Issues

子类调父类的onLoad方法报错

super.onLoad()报错
VM93:1 页面【pages/index/index]错误:
Error: module "pages/index/index.js" is not defined
at require (VM99 WAService.js:22)
at :30:9
at doWhenAllScriptLoaded (appservice?t=1600852596794:1285)
at HTMLScriptElement.scriptLoaded (appservice?t=1600852596794:1305)
at HTMLScriptElement.script.onload (appservice?t=1600852596794:1313)
console.error @ VM93:1
(anonymous) @ VM111:33
doWhenAllScriptLoaded @ appservice?t=1600852596794:1285
scriptLoaded @ appservice?t=1600852596794:1305
script.onload @ appservice?t=1600852596794:1313
load (async)
(anonymous) @ appservice?t=1600852596794:1312
(anonymous) @ appservice?t=1600852596794:1323
VM111:34 Uncaught Error: module "pages/index/index.js" is not defined
at require (VM99 WAService.js:22)
at :30:9
at doWhenAllScriptLoaded (appservice?t=1600852596794:1285)
at HTMLScriptElement.scriptLoaded (appservice?t=1600852596794:1305)
at HTMLScriptElement.script.onload (appservice?t=1600852596794:1313)
require @ VM99 WAService.js:22
(anonymous) @ VM111:30
doWhenAllScriptLoaded @ appservice?t=1600852596794:1285
scriptLoaded @ appservice?t=1600852596794:1305
script.onload @ appservice?t=1600852596794:1313
load (async)
(anonymous) @ appservice?t=1600852596794:1312
(anonymous) @ appservice?t=1600852596794:1323
[sitemap 索引情况提示] 根据 sitemap 的规则[0],当前页面 [pages/index/index] 将被索引

onLoad不执行的问题

直接下载下来,第二个页面的onLoad都不执行,
/**
* 生命周期函数--监听页面加载
*/
onLoad=function(options) {
console.log(11111)
};

需要改成这样才执行

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.