@focus-teach/ui 1.0.39 → 1.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/index.js +15 -1
- package/lib/ui.common.js +18430 -8179
- package/lib/ui.css +1 -1
- package/lib/ui.umd.js +18430 -8179
- package/lib/ui.umd.min.js +13 -5
- package/package.json +1 -2
package/api/index.js
CHANGED
|
@@ -785,9 +785,23 @@ export function getAnswerDownload(options, success, error) {
|
|
|
785
785
|
resolve([err, null])
|
|
786
786
|
}
|
|
787
787
|
);
|
|
788
|
-
})
|
|
788
|
+
})
|
|
789
789
|
}
|
|
790
790
|
|
|
791
|
+
//下载试卷>是否下载听力
|
|
792
|
+
export function getPaperAudio (options) {
|
|
793
|
+
return new Promise((resolve) => {
|
|
794
|
+
axios.get("/ybk/editor/exam/check-audio", { params: options }).then(
|
|
795
|
+
(res) => {
|
|
796
|
+
resolve([null, res])
|
|
797
|
+
},
|
|
798
|
+
(err) => {
|
|
799
|
+
resolve([err, null])
|
|
800
|
+
}
|
|
801
|
+
);
|
|
802
|
+
})}
|
|
803
|
+
|
|
804
|
+
|
|
791
805
|
// 获取题目难度列表
|
|
792
806
|
export function getItemDiffList(options) {
|
|
793
807
|
return new Promise((resolve) => {
|