From 10c5bce4680edcb10e607e6b4d9cff24f0a61787 Mon Sep 17 00:00:00 2001
From: liushiwei <499672082@qq.com>
Date: Fri, 24 May 2024 22:25:50 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/AiPayment.vue | 4 ++--
src/manifest.production.json | 6 +++++-
src/view/Home.vue | 2 +-
src/view/Info.vue | 30 ++++++++++++++++++++++++++-
src/view/sale/ExportSaleDataShein.vue | 12 ++++++++++-
5 files changed, 48 insertions(+), 6 deletions(-)
diff --git a/src/components/AiPayment.vue b/src/components/AiPayment.vue
index 141e3d7..6fc9022 100644
--- a/src/components/AiPayment.vue
+++ b/src/components/AiPayment.vue
@@ -146,8 +146,8 @@ export default {
this.$http.post("/api/order/createOrder", null, {
params: {
priceConfigId: item.id,
- mallName: vipForm.mallName,
- mallId: vipForm.mallId
+ mallName: this.vipForm.mallName,
+ mallId: this.vipForm.mallId
}
}).then(res => {
if (res?.data?.id) {
diff --git a/src/manifest.production.json b/src/manifest.production.json
index 11bb69f..b33a91e 100644
--- a/src/manifest.production.json
+++ b/src/manifest.production.json
@@ -2,7 +2,7 @@
"manifest_version": 3,
"name": "TEMU助手",
"description": "TEMU助手 - 自动化提高生产效率",
- "version": "3.1.13",
+ "version": "3.2.1",
"background": {
"service_worker": "/background.js"
},
@@ -51,6 +51,10 @@
"id": "5",
"enabled": true,
"path": "rules_5.json"
+ },{
+ "id": "6",
+ "enabled": true,
+ "path": "rules_6.json"
}]
},
"content_scripts": [
diff --git a/src/view/Home.vue b/src/view/Home.vue
index 2a7153d..bf13c72 100644
--- a/src/view/Home.vue
+++ b/src/view/Home.vue
@@ -324,7 +324,7 @@ export default {
},
},
mounted() {
- this.getAliexpressGoodsList()
+ // this.getAliexpressGoodsList()
}
}
diff --git a/src/view/Info.vue b/src/view/Info.vue
index f8ad14a..8fdda56 100644
--- a/src/view/Info.vue
+++ b/src/view/Info.vue
@@ -5,6 +5,13 @@
title="弹窗消息"
tips="点击“一键已读”之后,需要回到“卖家中心”刷新界面,弹窗即可消失"
isShowBottomBorder>
+
+
+
{
+ return item.mallId == tempMallId
+ })
+ temp[0].unreadNum = 0
+ }
+ Message.success("消息标记已读完成,刷新卖家中心弹窗即可消失")
+ },
async readAll() {
- let check = await this.$userCheck(this.currentMallId)
if (!this.currentMallId) {
Message.error("请选择要标记已读的店铺")
return
diff --git a/src/view/sale/ExportSaleDataShein.vue b/src/view/sale/ExportSaleDataShein.vue
index cafb8a6..e800fea 100644
--- a/src/view/sale/ExportSaleDataShein.vue
+++ b/src/view/sale/ExportSaleDataShein.vue
@@ -315,7 +315,17 @@ import { Message } from 'element-ui'
},
mounted () {
- this.beforeGetList()
+ this.$http.post('/api/malluser/info').then(res => {
+ if (res.code == 0) {
+ this.$store.commit('setUserInfo', res.data)
+ if (res.data.flag != 1) {
+ Message.error('您的账号未激活或已失效,请激活后使用')
+ this.$store.commit('setActiveDlgShow', true)
+ return;
+ }
+ this.beforeGetList()
+ }
+ })
},
methods: {