activated生命周期作用和uniapp里面的onShow一样,一进页面就执行一次里面的内容。

上代码:

activated() {

this.getList();

},

Logo

前往低代码交流专区

更多推荐