From 8b0a44ad031638557c2b49028bbb6cd2d93666c8 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 08 九月 2023 16:51:58 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.0.22:9001/r/mom-before

---
 src/components/view/standard.vue |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)

diff --git a/src/components/view/standard.vue b/src/components/view/standard.vue
index 5cc5582..5e03711 100644
--- a/src/components/view/standard.vue
+++ b/src/components/view/standard.vue
@@ -188,8 +188,8 @@
       version: {},
       VER: {},
       verdata: {},
-      character: "",
-    };
+      character: 0,
+    }
   },
   // watch: {
   //   search(val) {
@@ -200,7 +200,9 @@
   //   }
   // },
   mounted() {
-    this.selectMaterialTree();
+    this.selectMaterialTree()
+    this.selectVersion()
+    this.selectAll()
   },
   methods: {
     selectDataList() {
@@ -242,15 +244,13 @@
       console.log(val);
       this.returntree = val;
     },
-    selectVersion() {
-      this.$axios
-        .get(this.$api.url.selectVersion, {
-          params: {
-            specificationsId: this.returntree.id,
-            type: this.typeselect,
-          },
-        })
-        .then((res) => {
+   selectVersion() {//鐗堟湰
+      this.$axios.get(this.$api.url.selectVersion, {
+        params: {
+          specificationsId: this.returntree.id,
+          type: this.typeselect,
+        }
+      }).then((res) => {
           this.verdata = res.data;
           this.version = this.verdata.map((el) => {
             return (el = `v${el}`);

--
Gitblit v1.9.3