From 016f890b89151f2edfee3ae792a9c5594460bf2b Mon Sep 17 00:00:00 2001
From: feige <791364011@qq.com>
Date: 星期二, 20 二月 2024 17:41:51 +0800
Subject: [PATCH] 提交新代码

---
 ruoyi-ui/src/views/note/propertyInfo.vue |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/ruoyi-ui/src/views/note/propertyInfo.vue b/ruoyi-ui/src/views/note/propertyInfo.vue
index 31524d3..be926bb 100644
--- a/ruoyi-ui/src/views/note/propertyInfo.vue
+++ b/ruoyi-ui/src/views/note/propertyInfo.vue
@@ -304,10 +304,12 @@
     {
       let _this = this
       getCategory().then(response=>{
-
-        response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
-          _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
+ response.data.map(elem=>{
+          _this.typeOptions.push({"label":elem, "value":elem})
         })
+        // response.data.itemValues.replace("{","").replace("}","").split(",").map(elem=>{
+        //   _this.typeOptions.push({"label":elem.split(":")[0], "value":elem.split(":")[0]})
+        // })
       })
     },
     submitForm() {

--
Gitblit v1.9.1