|
@@ -7,10 +7,10 @@ import MSticky from '@/components/m-sticky';
|
|
|
export default defineComponent({
|
|
|
name: 'activation-download',
|
|
|
setup() {
|
|
|
- const onDownload = () => {
|
|
|
- // @ts-ignore
|
|
|
- window.wx.downloadImage('https://oss.dayaedu.com/ktyq/1733226456374.png')
|
|
|
- }
|
|
|
+ // const onDownload = () => {
|
|
|
+ // // @ts-ignore
|
|
|
+ // window.wx.downloadImage('https://oss.dayaedu.com/ktyq/1733226456374.png')
|
|
|
+ // }
|
|
|
const onDownload2 = () => {
|
|
|
console.log('发送消息')
|
|
|
// @ts-ignore
|
|
@@ -21,7 +21,9 @@ export default defineComponent({
|
|
|
}
|
|
|
})
|
|
|
// @ts-ignore
|
|
|
- wx.miniProgram.navigateBack()
|
|
|
+ wx.miniProgram.redirectTo({
|
|
|
+ url: 'page/download/download'
|
|
|
+ })
|
|
|
}
|
|
|
return () => (
|
|
|
<div class={styles.activationDownload}>
|