摘要: import {useEffect, useState} from "react"; import NewBaseDataService from "src/services/baseData/newIndex"; import Bus from "../utils/eventBus"; impor 阅读全文
posted @ 2024-06-25 16:30 Felix_Openmind 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <TreeSelect showSearch={true} style={{width: '266px', border: 'none'}} value={controlUnit} dropdownStyle={{maxHeight: 400, overflow: 'auto'}} placehol 阅读全文
posted @ 2024-06-24 16:46 Felix_Openmind 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 接口文档 核心代码 const ImportPictureUpload = () => { const [fileList, setFileList] = useState([]) const onBeforeUpload = (file: any, fileList: any) => { setF 阅读全文
posted @ 2024-06-17 16:33 Felix_Openmind 阅读(2) 评论(0) 推荐(0) 编辑
摘要: import React, { useRef, useCallback } from 'react'; // 子组件 const ChildComponent = React.forwardRef((props, ref) => { const doSomething = useCallback(( 阅读全文
posted @ 2024-06-13 20:05 Felix_Openmind 阅读(59) 评论(0) 推荐(0) 编辑
摘要: render: (status) => (String(status) '0' ? (<span><img src={xiafazhong} alt='下发中'/>下发中 </span>) : (<span><img src={bukongzhong} alt='布控中'/>布控中</span>) 阅读全文
posted @ 2024-06-13 17:51 Felix_Openmind 阅读(2) 评论(0) 推荐(0) 编辑
摘要: Linux系统使用Verdaccio搭建NPM私服 对积累并封装一套公共组件库或自定义脚手架,工具极大加速a56爆大奖在线娱乐们的业务开发进程 但是对于代码安全和隐私的考虑,不能将这些内容上传到公开的npm仓库中 可以利用Verdaccio工具在服务器上搭建一个Npm私服,更好的管理内部共享的代码 Verdaccio 阅读全文
posted @ 2024-06-03 00:27 Felix_Openmind 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 使用计算属性 computed来实现 const leftNavCache = computed(() => { return topList.value[activeNav.value].list }) 阅读全文
posted @ 2024-05-30 18:22 Felix_Openmind 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 目录结构 webdata └── front-lib-web ├── conf.d │ └── default.conf ├── docker-compose.yml └── html └── frontDemo * conf.d/default.conf server { listen 6888; 阅读全文
posted @ 2024-05-30 15:08 Felix_Openmind 阅读(54) 评论(0) 推荐(0) 编辑
摘要: <template> <section class="list-remark-box" v-if="props.feedbackData.length > 0" ref="listRef"> // ....... </section> </template> <script setup> const 阅读全文
posted @ 2024-05-20 14:51 Felix_Openmind 阅读(127) 评论(0) 推荐(0) 编辑
摘要: ?? 仅当左操作数为 null 或 undefined 时, ?? 运算符才会将结果作为右操作数。 ||运算符会将左操作数的所有假值(falsy) 的结果作为右操作数 阅读全文
posted @ 2024-05-16 10:29 Felix_Openmind 阅读(5) 评论(0) 推荐(0) 编辑