Ver Fonte

更新专辑名字

黄琪勇 há 1 ano atrás
pai
commit
195ea13017

+ 3 - 0
src/tenant/music/lessonCourseware/index.tsx

@@ -108,6 +108,9 @@ export default defineComponent({
             rows: 20
           }
         })
+        if (params.subjectList?.length > 0 && res.data.pageNo === 1) {
+          return
+        }
         const result = (params.subjectList || []).concat(res.data?.rows || [])
         params.subjectList = result
         params.page = res.data.pageNo + 1

+ 3 - 3
src/tenant/music/train-tool/index.tsx

@@ -116,7 +116,7 @@ export default defineComponent({
             if (!browser().isApp) {
               Dialog.alert({
                 title: '提示',
-                message: '该专辑不可购买',
+                message: '该教程不可购买',
                 confirmButtonText: '确定',
                 confirmButtonColor: '#2dc7aa'
               }).then(() => {
@@ -358,7 +358,7 @@ export default defineComponent({
                 }}
               >
                 <ColResult
-                  tips="暂无专辑"
+                  tips="暂无教程"
                   classImgSize="SMALL"
                   btnStatus={false}
                 />
@@ -594,7 +594,7 @@ export default defineComponent({
                     ) : (
                       !state.loading && (
                         <ColResult
-                          tips="暂无曲目" //暂无教程
+                          tips="暂无教程"
                           classImgSize="SMALL"
                           btnStatus={false}
                         />