Skip to content

Commit 7315979

Browse files
committed
feat(wordlist):fix some style problems(rpx) and change the picture in tools.
1 parent 762eaba commit 7315979

File tree

5 files changed

+5
-3
lines changed

5 files changed

+5
-3
lines changed

src/pages/lists/details.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ export default {
127127
toWordPage,
128128
},
129129
};
130+
130131
</script>
131132
<style>
132133
.word-list-detail {

src/pages/lists/index.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
</view>
6161
</template>
6262
<script>
63-
import { ref, onMounted } from 'vue';
63+
6464
import { getWordLists } from '@/services/lists';
6565
6666
const app = getApp();

src/pages/lists/upload.vue

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
</template>
8787

8888
<script>
89-
import { searchCharacters } from '@/services/character';
9089
import { getWords, searchWords, getWordDetailss } from '@/services/word';
9190
import ChooseWordListAdd from '@/components/ChooseWordListAdd.vue';
9291
import { postWordList } from '@/services/lists';
@@ -183,7 +182,7 @@ export default {
183182
});
184183
}
185184
})
186-
.catch((error) => {
185+
.catch(() => {
187186
uni.showToast({
188187
title: '请求出错',
189188
icon: 'none',

src/pages/tools/index.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ export default {
4747
img: 'https://pic.imgdb.cn/item/65fc2d909f345e8d03fb4be6.png',
4848
url: '/lists/index',
4949
},
50+
5051
{
5152
img: 'https://cos.edialect.top/website/%E8%81%AA%E6%98%8E%E8%8A%B1%E5%BC%80.png',
5253
url: '/quizzes/index',

src/services/lists.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import request from '../utils/request';
55
export async function getWordLists() {
66
return request.get('/lists');
77
}
8+
89
/**
910
* @param id 词单id
1011
* @returns {Promise<unknown>}

0 commit comments

Comments
 (0)