代码格式优化,去除多余的引入

This commit is contained in:
田岩
2025-09-01 10:54:27 +08:00
parent 828186c1d4
commit 4eebd75345
36 changed files with 100 additions and 250 deletions
@@ -9,7 +9,7 @@
</template>
<script setup>
const status = ref('loading'); // loadmore - 加载前,loading - 加载中,nomore - 没有数据
const limit = 15;
const limit = 20;
const total = ref(-1);
const page = ref(0);
const data_list = reactive([]);
-1
View File
@@ -180,7 +180,6 @@
common.navigateTo('/pages/courseDetail/index?crsId=' + item.crsId);
};
const collect_click = async (id) => {
console.log('学习', id);
try {
if (!id) {
common.loading('收藏中');
+1 -2
View File
@@ -44,10 +44,9 @@
<script setup>
import { LineBg } from '@/enum.js';
import content from './components/content.vue';
import { reactive, ref, computed, nextTick, onMounted, watch } from 'vue';
import { ref, onMounted, watch } from 'vue';
import common from '@/common/common.js';
const listItemRefs = ref([]);
const taskRef = ref(null);
const tabAct = ref(0);
const tabList = ref([
{