File tree Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Expand file tree Collapse file tree 5 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -127,6 +127,7 @@ export default {
127
127
toWordPage,
128
128
},
129
129
};
130
+
130
131
</script >
131
132
<style >
132
133
.word-list-detail {
Original file line number Diff line number Diff line change 60
60
</view >
61
61
</template >
62
62
<script >
63
- import { ref , onMounted } from ' vue ' ;
63
+
64
64
import { getWordLists } from ' @/services/lists' ;
65
65
66
66
const app = getApp ();
Original file line number Diff line number Diff line change 86
86
</template >
87
87
88
88
<script >
89
- import { searchCharacters } from ' @/services/character' ;
90
89
import { getWords , searchWords , getWordDetailss } from ' @/services/word' ;
91
90
import ChooseWordListAdd from ' @/components/ChooseWordListAdd.vue' ;
92
91
import { postWordList } from ' @/services/lists' ;
@@ -183,7 +182,7 @@ export default {
183
182
});
184
183
}
185
184
})
186
- .catch ((error ) => {
185
+ .catch (() => {
187
186
uni .showToast ({
188
187
title: ' 请求出错' ,
189
188
icon: ' none' ,
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ export default {
47
47
img: ' https://pic.imgdb.cn/item/65fc2d909f345e8d03fb4be6.png' ,
48
48
url: ' /lists/index' ,
49
49
},
50
+
50
51
{
51
52
img: ' https://cos.edialect.top/website/%E8%81%AA%E6%98%8E%E8%8A%B1%E5%BC%80.png' ,
52
53
url: ' /quizzes/index' ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import request from '../utils/request';
5
5
export async function getWordLists ( ) {
6
6
return request . get ( '/lists' ) ;
7
7
}
8
+
8
9
/**
9
10
* @param id 词单id
10
11
* @returns {Promise<unknown> }
You can’t perform that action at this time.
0 commit comments