@focus-teach/ui 1.0.37 → 1.0.38

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/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
  # 打包成组件库 npm run lib
4
4
 
5
5
  # 打包注意事项
6
- ## package.json中 打包的时候name为packageName 上传到npm库的时候name为publishName
6
+ ## package.json中 打包的时候name为packageName 上传到npm库的时候name为buildName
7
7
 
8
8
  ### ft-tabs
9
9
 
package/api/index.js CHANGED
@@ -773,4 +773,17 @@ export function getExamListAsync(options, success, error) {
773
773
  error && error(res);
774
774
  }
775
775
  );
776
+ }
777
+ //答题是否下载过
778
+ export function getAnswerDownload(options, success, error) {
779
+ return new Promise((resolve) => {
780
+ axios.get("/ybk/exam-card/edit.json", { params: options }).then(
781
+ (res) => {
782
+ resolve([null, res])
783
+ },
784
+ (err) => {
785
+ resolve([err, null])
786
+ }
787
+ );
788
+ })
776
789
  }