threshold.js 533 B

12345678910111213141516171819202122232425262728293031
  1. const app = getApp()
  2. Page({
  3. data: {
  4. selected: 0, // 必须为数字
  5. },
  6. onShow: function () {
  7. if (typeof this.getTabBar === 'function' &&
  8. this.getTabBar()) {
  9. this.getTabBar().setData({
  10. selected: 0
  11. })
  12. }
  13. },
  14. Model_Selection() {
  15. wx.navigateTo({
  16. url: '/pages/Model Selection/Model Selection',
  17. });
  18. },
  19. thres() {
  20. wx.navigateTo({
  21. url: '/pages/thres/thres',
  22. });
  23. },
  24. modelTrain() {
  25. wx.navigateTo({
  26. url: '/pages/ModelTrain/ModelTrain',
  27. })
  28. }
  29. });