From 87529795fd4661a3bd6a1ad4e2a15515db64025e Mon Sep 17 00:00:00 2001 From: huyuanxiang <273637057@qq.com> Date: Thu, 15 Jun 2023 13:37:20 +0800 Subject: [PATCH] =?UTF-8?q?[fix]=E4=BF=AE=E6=94=B9=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E8=B4=AD=E7=89=A9=E8=BD=A6=EF=BC=8C=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E7=B1=BB=E5=9E=8B=E6=8B=BC=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main.js | 2 +- pages/commponent/public/sku.vue | 2 +- pages/views/tabBar/user.vue | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/main.js b/main.js index b2aa203..8562496 100644 --- a/main.js +++ b/main.js @@ -3,7 +3,7 @@ import App from './App'; import nodata from "./pages/commponent/public/nodata"; import request from 'utils/request.js' //引入异步请求函数 import {toast} from './utils/util' -import './utils/noprint.js' +// import './utils/noprint.js' import json from './json' //测试用数据 diff --git a/pages/commponent/public/sku.vue b/pages/commponent/public/sku.vue index d5d3ad0..eb5c217 100644 --- a/pages/commponent/public/sku.vue +++ b/pages/commponent/public/sku.vue @@ -304,7 +304,7 @@ export default { for(let y = 0;y < colCart.length; y++){ const item = colCart[y] if (data.id === item.id) { - item.number += this.number + item.number += +this.number if (item.number > this.stock) { item.number = this.stock } diff --git a/pages/views/tabBar/user.vue b/pages/views/tabBar/user.vue index 7d56a0f..4480f1a 100644 --- a/pages/views/tabBar/user.vue +++ b/pages/views/tabBar/user.vue @@ -114,7 +114,7 @@ export default { }, { name: '设置', icon: 'icon-shezhi2', - url: 'pages/views/setting/index', + url: '/pages/views/setting/index', id: 9, elseUrl: '' }],