@zykjcommon/questions 0.0.53 → 0.0.55

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zykjcommon/questions",
3
- "version": "0.0.53",
3
+ "version": "0.0.55",
4
4
  "main": "src/components/questions/entry.js",
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
@@ -21,11 +21,7 @@
21
21
  "md5": "^2.2.1",
22
22
  "mitt": "^3.0.0",
23
23
  "mobile-detect": "^1.4.5",
24
- "video.js": "^7.6.0",
25
- "vue": "^3.0.0",
26
- "vue-router": "^4.0.0-0",
27
- "vuex": "^4.0.0-0",
28
- "vuex-composition-helpers": "^2.0.1"
24
+ "video.js": "^7.6.0"
29
25
  },
30
26
  "devDependencies": {
31
27
  "@types/node": "^18.11.9",
@@ -55,7 +51,11 @@
55
51
  "unplugin-vue-components": "^0.17.18",
56
52
  "url-loader": "^4.1.1",
57
53
  "webpack": "^5.88.1",
58
- "yargs": "^16.2.0"
54
+ "yargs": "^16.2.0",
55
+ "vue": "^3.0.0",
56
+ "vue-router": "^4.0.0-0",
57
+ "vuex": "^4.0.0-0",
58
+ "vuex-composition-helpers": "^2.0.1"
59
59
  },
60
60
  "publishConfig": {
61
61
  "access": "public",
package/readme CHANGED
@@ -5,6 +5,11 @@ watch(() => props.questionList, (nv) => {
5
5
  }
6
6
  },{immediate:true,deep:true})
7
7
 
8
+ 发布:
9
+ package.json版本号version需要变更
10
+ npm run build:lib
11
+ npm run publishLib
12
+ 下载包的时候需要npm run @zykjcommon/questions --save --force
8
13
  如果源是cnpm需要cnpm sync手动同步
9
14
 
10
15
 
@@ -1,6 +1,6 @@
1
1
  <template>
2
2
  <div class="zykjcommon-question">
3
- <div class="question-type" v-if="!isSub">{{questionInfo.questionIndex}}、{{ questionInfo.question_type_str }}<span v-if="questionInfo.score!=='null' && showScore">({{questionInfo.score}}分1111)</span>
3
+ <div class="question-type" v-if="!isSub">{{questionInfo.questionIndex}}、{{ questionInfo.question_type_str }}<span v-if="questionInfo.score!=='null' && showScore">({{questionInfo.score}}分)</span>
4
4
  <span class="score fr" v-if="mode==='analysis'">得分:{{questionInfo.answerMap ? questionInfo.answerMap.user_score : '-'}}分</span>
5
5
  </div>
6
6
  <div class="question-box">