riku
2024-08-12 65124213af664a68ad88ce7f6dcb133116d7702f
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;
    }
  },
});