提交 e19579e2 编写于 作者: fxy060608's avatar fxy060608

chore(push): remove unused

上级 33e94e05
interface OnPushMessageSuccess {
type: 'click' | 'receive'
data: {
title: string
content: string
payload: unknown
forceNotification?: boolean
path?: string
}
}
export function initPushRoute() {
uni.onPushMessage((res: OnPushMessageSuccess) => {
uni.onPushMessage((res) => {
if (res.data && res.data.path && res.type === 'receive') {
// 仅 App 端
if (typeof plus !== 'undefined' && plus.push) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册