Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
lls_program
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2025-09-06 13:25:14 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
ce2594d6b002650a65a36bf52fcb869a6ad2f882
ce2594d6
1 parent
17eeb1f8
docs: 移除TODO注释并更新配置文件的注释标签
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
src/pages/Dashboard/index.vue
src/utils/config.js
src/pages/Dashboard/index.vue
View file @
ce2594d
...
...
@@ -23,7 +23,6 @@
>
<template #default>
<!-- Today's steps section -->
<!-- TODO: 今日获取的步数怎么同步到下面那个积分池里面去 -->
<view class="px-5 py-6 bg-white rounded-xl shadow-md mx-4 mt-4">
<view class="flex justify-between items-center mb-1">
<span class="text-gray-500">今日</span>
...
...
src/utils/config.js
View file @
ce2594d
/*
* @Date: 2022-09-19 14:11:06
* @LastEditors: hookehuyr hookehuyr@gmail.com
* @LastEditTime: 2025-0
8-29 14:38:56
* @LastEditTime: 2025-0
9-06 13:24:57
* @FilePath: /lls_program/src/utils/config.js
* @Description: 环境配置文件 - 根据小程序运行环境自动切换API地址
*/
...
...
@@ -15,7 +15,7 @@ function getBaseUrl() {
const
accountInfo
=
wx
.
getAccountInfoSync
();
const
envVersion
=
accountInfo
.
miniProgram
.
envVersion
;
// 定义不同环境的服务器地址
//
TAG:
定义不同环境的服务器地址
let
baseUrl
=
''
;
switch
(
envVersion
)
{
case
'develop'
:
// 开发版
...
...
Please
register
or
login
to post a comment