From 5cfc1cd804cd2b76994821b662e2a06193006379 Mon Sep 17 00:00:00 2001
From: jhzh <1628036192@qq.com>
Date: Mon, 21 Jul 2025 10:47:45 +0800
Subject: [PATCH] 1
---
src/page/list/favoriteslist/data.list.vue | 4 ++--
src/page/home/sharerecordDz.vue | 7 ++++---
src/page/home/home.vue | 2 +-
build/utils.js | 4 +++-
build/webpack.prod.conf.js | 12 ++++++------
src/page/newUser/setting.vue | 2 +-
src/page/home/help.vue | 4 ++--
7 files changed, 19 insertions(+), 16 deletions(-)
diff --git a/build/utils.js b/build/utils.js
index f94f203..0bf06bc 100644
--- a/build/utils.js
+++ b/build/utils.js
@@ -18,13 +18,15 @@
const cssLoader = {
loader: 'css-loader',
options: {
- sourceMap: options.sourceMap
+ sourceMap: options.sourceMap,
+
}
}
const px2remLoader = {
loader: 'px2rem-loader',
options: {
remUnit: 54,
+ minimize:true
}
}
diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js
index d9f99f6..96b92f0 100644
--- a/build/webpack.prod.conf.js
+++ b/build/webpack.prod.conf.js
@@ -46,17 +46,17 @@
filename: utils.assetsPath('css/[name].[contenthash].css'),
// Setting the following option to `false` will not extract CSS from codesplit chunks.
// Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.
- // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
+ // It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`,
// increasing file size: https://github.com/vuejs-templates/webpack/issues/1110
allChunks: true,
}),
// Compress extracted CSS. We are using this plugin so that possible
// duplicated CSS from different components can be deduped.
- new OptimizeCSSPlugin({
- cssProcessorOptions: config.build.productionSourceMap
- ? { safe: true, map: { inline: false } }
- : { safe: true }
- }),
+ // new OptimizeCSSPlugin({
+ // cssProcessorOptions: config.build.productionSourceMap
+ // ? { safe: true, map: { inline: false } }
+ // : { safe: true }
+ // }),
// generate dist index.html with correct asset hash for caching.
// you can customize output by editing /index.html
// see https://github.com/ampedandwired/html-webpack-plugin
diff --git a/src/page/home/help.vue b/src/page/home/help.vue
index d08bb87..6fdbaa6 100644
--- a/src/page/home/help.vue
+++ b/src/page/home/help.vue
@@ -294,7 +294,7 @@
.then(() => {
this.toRegister();
})
- .catch(() => {});
+ // .catch(() => {});
},
goToSettings() {
if (this.userInfo.length === 0) {
@@ -646,4 +646,4 @@
}
}
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/page/home/home.vue b/src/page/home/home.vue
index 9031b16..4ec18fa 100644
--- a/src/page/home/home.vue
+++ b/src/page/home/home.vue
@@ -461,7 +461,7 @@
cancelButtonText: this.$t("hj106")
})
.then(async () => {})
- .catch(() => {});
+ // .catch(() => {});
},
onSelect(e) {
this.$i18n.locale = e.lang;
diff --git a/src/page/home/sharerecordDz.vue b/src/page/home/sharerecordDz.vue
index 16cdef1..de12662 100644
--- a/src/page/home/sharerecordDz.vue
+++ b/src/page/home/sharerecordDz.vue
@@ -75,9 +75,10 @@
} else {
Toast(data.msg)
}
- }).catch(() => {
+ })
+ // .catch(() => {
- });
+ // });
},
async getUserNewGuList() {
let data = await api.buyStockDzList();
@@ -341,4 +342,4 @@
}
}
-</style>
\ No newline at end of file
+</style>
diff --git a/src/page/list/favoriteslist/data.list.vue b/src/page/list/favoriteslist/data.list.vue
index 3f814b9..d659ac3 100644
--- a/src/page/list/favoriteslist/data.list.vue
+++ b/src/page/list/favoriteslist/data.list.vue
@@ -216,9 +216,9 @@
}
// 认购成功
})
- .catch(() => {
+ // .catch(() => {
// on cancel
- });
+ // });
},
fromDatavalue(e) {
this.fromData.value = e.target.value;
diff --git a/src/page/newUser/setting.vue b/src/page/newUser/setting.vue
index bc794da..bdaa4b1 100644
--- a/src/page/newUser/setting.vue
+++ b/src/page/newUser/setting.vue
@@ -295,7 +295,7 @@
.then(() => {
this.toRegister();
})
- .catch(() => {});
+ // .catch(() => {});
},
goToSettings() {
// 每次打开dialog 清空密码数据
--
Gitblit v1.9.3