From d831ee932bc34ccc66f08676414e2a13b03e4fd6 Mon Sep 17 00:00:00 2001
From: YuanHuakk <1751826683@qq.com>
Date: Wed, 29 Oct 2025 12:39:01 +0800
Subject: [PATCH] =?UTF-8?q?release:=20=E4=B8=B4=E6=97=B6=E7=B4=A7=E6=80=A5?=
=?UTF-8?q?=E7=89=88=E6=9C=AC?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
babel.config.js | 1 -
components.d.ts | 4 +---
package.json | 8 ++++----
src/app.config.ts | 12 ++++++------
src/pages/index/index.vue | 10 +++++-----
src/utils/request.ts | 2 +-
6 files changed, 17 insertions(+), 20 deletions(-)
diff --git a/babel.config.js b/babel.config.js
index eb83259..b5639a8 100644
--- a/babel.config.js
+++ b/babel.config.js
@@ -1,4 +1,3 @@
-// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = {
presets: [
[
diff --git a/components.d.ts b/components.d.ts
index a2592ba..14a87fa 100644
--- a/components.d.ts
+++ b/components.d.ts
@@ -3,7 +3,7 @@
// Generated by unplugin-vue-components
// Read more: https://github.com/vuejs/core/pull/3399
// biome-ignore lint: disable
-export {}
+export {};
/* prettier-ignore */
declare module 'vue' {
@@ -42,8 +42,6 @@ declare module 'vue' {
NutSwiper: typeof import('@nutui/nutui-taro')['Swiper']
NutSwiperItem: typeof import('@nutui/nutui-taro')['SwiperItem']
NutSwitch: typeof import('@nutui/nutui-taro')['Switch']
- NutTabbar: typeof import('@nutui/nutui-taro')['Tabbar']
- NutTabbarItem: typeof import('@nutui/nutui-taro')['TabbarItem']
NutTable: typeof import('@nutui/nutui-taro')['Table']
NutTabPane: typeof import('@nutui/nutui-taro')['TabPane']
NutTabs: typeof import('@nutui/nutui-taro')['Tabs']
diff --git a/package.json b/package.json
index 77f6752..0ba8a99 100644
--- a/package.json
+++ b/package.json
@@ -1,8 +1,8 @@
{
"name": "jdt-user",
- "version": "4.0.12",
+ "version": "4.0.13",
"taroConfig": {
- "version": "4.0.12"
+ "version": "4.0.13"
},
"scripts": {
"build:weapp": "taro build --type weapp",
@@ -16,7 +16,7 @@
"build:jd": "taro build --type jd",
"build:quickapp": "taro build --type quickapp",
"dev:weapp": "taro build --type weapp --watch",
- "dev:weapp:prview": "taro build --type weapp --watch --mode production",
+ "dev:weapp:prview": "taro build --type weapp --watch --mode reserve",
"dev:swan": "npm run build:swan -- --watch",
"dev:alipay": "npm run build:alipay -- --watch",
"dev:tt": "npm run build:tt -- --watch",
@@ -40,7 +40,7 @@
"Android >= 4.1",
"ios >= 8"
],
- "author": "",
+ "author": "JDT",
"lint-staged": {
"*.{ts,vue}": [
"eslint --ext .ts,.vue .",
diff --git a/src/app.config.ts b/src/app.config.ts
index cb22172..e9a9306 100644
--- a/src/app.config.ts
+++ b/src/app.config.ts
@@ -97,12 +97,12 @@ export default defineAppConfig({
selectedIconPath: 'static/tabbar/1-1.png',
text: '首页',
},
- {
- pagePath: 'pages/game/gamehome/index',
- iconPath: 'static/tabbar/2-0.png',
- selectedIconPath: 'static/tabbar/2-1.png',
- text: '游戏',
- },
+ // {
+ // pagePath: 'pages/game/gamehome/index',
+ // iconPath: 'static/tabbar/2-0.png',
+ // selectedIconPath: 'static/tabbar/2-1.png',
+ // text: '游戏',
+ // },
{
pagePath: 'pages/cart/index',
iconPath: 'static/tabbar/3-0.png',
diff --git a/src/pages/index/index.vue b/src/pages/index/index.vue
index 4ffbc16..f33a650 100644
--- a/src/pages/index/index.vue
+++ b/src/pages/index/index.vue
@@ -14,8 +14,8 @@
-
-
{{ item.name }}
-
-
+ -->
diff --git a/src/utils/request.ts b/src/utils/request.ts
index 8a64731..9d14547 100644
--- a/src/utils/request.ts
+++ b/src/utils/request.ts
@@ -43,7 +43,7 @@ const request = (
title: '提示',
content: '你当前未登录,是否前往登录?',
confirmText: '去登录',
- cancelText: '先逛逛',
+ cancelText: '暂不登录',
success: ({ confirm }) => {
if (confirm) {
Taro.reLaunch({