cxmo hace 1 año
padre
commit
eed0a2793b
Se han modificado 1 ficheros con 14 adiciones y 0 borrados
  1. 14 0
      src/views/update/Index.vue

+ 14 - 0
src/views/update/Index.vue

@@ -6,6 +6,7 @@ const MenuList = ref([])
 let logList = ref([])
 let activeMenu = ref('')
 function getLogList(dateStr=''){
+    //mock
     logList.value = [
         {
             "date_flag": "2023年10月", 
@@ -26,14 +27,25 @@ function getLogList(dateStr=''){
             ] 
         }
     ]
+   /*  apiLogList({
+        date_flag:dateStr
+    }).then(res=>{
+        if(res.code!==200) return 
+        logList.value = res.data
+    }) */
 }
 function getLogMenu(){
+    //mock
     MenuList.value = [
         "2023年10月",
         "2023年9月",
         "2023年8月",
         "2023年7月"
     ]
+    /* apiLogMenu().then(res=>{
+        if(res.code!==200) return 
+        MenuList.value = res.data
+    }) */
 }
 function changeActiveMenu(menu){
     activeMenu.value = menu
@@ -144,6 +156,7 @@ onMounted(()=>{
     .right{
         flex: 1;
         padding:60px;
+        user-select: none;
         .list-title,.title{
             display: flex;
             align-items: center;
@@ -182,6 +195,7 @@ onMounted(()=>{
         }
         .content{
             opacity: 0.6;
+            user-select: text;
         }
     }
 }