1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
| import { openDoc } from '../../../utils/file';
|
| const app = getApp();
|
| Page({
| data: {
| version: app.globalData.version,
| },
|
| onLoad(options) {},
|
| goto(e) {
| var index = e.currentTarget.dataset.index;
| switch (index) {
| case '0':
| openDoc(app.globalData.agreement);
| return;
| case '1':
| wx.navigateTo({
| url: '/pages/usercenter/password-edit/index',
| });
| break;
| }
| },
| });
|
|