
Security News
Axios Maintainer Confirms Social Engineering Attack Behind npm Compromise
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.
@skit/wepy2-com-loading
Advanced tools
A component for displaying a blocked loading animation based on wepy.js 2.x.
一个阻塞页面的加载动画组件。
此组件依赖 wepy 2.0.0+。
如果你正在使用 wepy 1.x,请移步 wepy-com-loading。
安装:
npm install @skit/wepy2-com-loading --save
导入:
<template>
<ui-loading ref="loading" />
</template>
<config>
{
usingComponents: {
'ui-loading': 'module:@skit/wepy2-com-loading'
}
}
</config>
<script>
import Wepy from 'wepy';
Wepy.page({
onShow() {
this.$refs['loading'].show('loading ...');
}
});
</script>
注意:当前版本的 wepy-cli 存在 Bug,无法打包通过
node_modules引入的 wpy 组件,解决方案请参考 Issue#2554。
无
/**
* 显示加载对话框。
* @param {Object} options 配置项。
* @param {String} options.content 提示文本。
*/
this.$refs['loading'].show({
content: '加载中'
});
/**
* 显示加载对话框。
* @param {String} content 提示文本。
*/
this.$refs['loading'].show('加载中');
/**
* 隐藏加载对话框。
*/
this.$refs['loading'].hide();
FAQs
A component for displaying a blocked loading animation based on wepy.js 2.x.
We found that @skit/wepy2-com-loading demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.

Security News
The Axios compromise shows how time-dependent dependency resolution makes exposure harder to detect and contain.