Browse Source

Merge branch 'master' of http://221.216.211.14:3000/GCLS/GCLS_Page_Book_Component_NPC

guanchunjie 3 years ago
parent
commit
efde0abc90
1 changed files with 39 additions and 0 deletions
  1. 39 0
      src/components/Adult/inputModules/PurePreview.vue

+ 39 - 0
src/components/Adult/inputModules/PurePreview.vue

@@ -469,6 +469,45 @@ export default {
   created() {
     if (!this.curQue) {
       this.initcurQue();
+    } else {
+      if (this.type == "newWord_preview_chs") {
+        let obj = {
+          type: "number",
+          name: "每行几个",
+          con: "7",
+          arr: [
+            {
+              id: 1,
+              value: 1,
+            },
+            {
+              id: 2,
+              value: 2,
+            },
+            {
+              id: 3,
+              value: 3,
+            },
+            {
+              id: 4,
+              value: 4,
+            },
+            {
+              id: 5,
+              value: 5,
+            },
+            {
+              id: 6,
+              value: 6,
+            },
+            {
+              id: 7,
+              value: 7,
+            },
+          ],
+        };
+        this.$set(this.curQue, "numberList", obj);
+      }
     }
   },
   //生命周期 - 挂载完成(可以访问DOM元素)