From b5bf6a8ff37d5c363a68697ac8cab88ff21b1614 Mon Sep 17 00:00:00 2001 From: YM <479443481@qq.com> Date: 星期三, 16 七月 2025 23:29:10 +0800 Subject: [PATCH] 增加量表价格为0的判断 --- pages/digitalCourses/digitalCoursesDetails/components/tree/index.js | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/pages/digitalCourses/digitalCoursesDetails/components/tree/index.js b/pages/digitalCourses/digitalCoursesDetails/components/tree/index.js index c2eaecc..83ef878 100644 --- a/pages/digitalCourses/digitalCoursesDetails/components/tree/index.js +++ b/pages/digitalCourses/digitalCoursesDetails/components/tree/index.js @@ -1,4 +1,7 @@ const app = getApp(); +import { + loginInfo +} from '../../../../../assets/js/login'; Component({ properties: { treeList: { @@ -114,9 +117,9 @@ url: `${url}?productLinkPath=${item.productLinkPath}&parentProductLinkPath=${parentProductLinkPath}&parentName=${parentName}&activeId=${item.id}&bookId=${this.properties.bookInfo.id}&bookName=${this.properties.bookInfo.name}&cmsId=${this.properties.bookInfo.rootCmsItemId}&formPath=jsek_cloudLearning&storeInfo=${app.config.digitalCourses}`, }); + } else { + loginInfo(app, (data) => {}) } }, - - }, }); \ No newline at end of file -- Gitblit v1.9.1