04 2023 档案

摘要:业务效果 核心代码 <template> <a-pagination v-model:current="current" :total="total" :pageSize="pageSize" show-less-items show-size-changer :pageSizeOptions="[ 阅读全文
posted @ 2023-04-25 10:24 Felix_Openmind 阅读(399) 评论(0) 推荐(0) 编辑
摘要:https://juejin.cn/post/6999687348120190983#heading-7 Vue3 通信使用写法 1. props 用 props 传数据给子组件有两种方法,如下 方法一,setup() 方法写法 // Parent.vue 传送 <child :msg1="msg1 阅读全文
posted @ 2023-04-16 18:06 Felix_Openmind 阅读(98) 评论(0) 推荐(0) 编辑
摘要:参考:https://www.cnblogs.com/lovewhatIlove/p/16476165.html #### 安装terser ``` npm add -D terser ``` #### vite中配置 ``` import { defineConfig } from "vite"; 阅读全文
posted @ 2023-04-15 18:40 Felix_Openmind 阅读(2595) 评论(0) 推荐(0) 编辑
摘要:在utils下封装mitt.js import mitt from 'mitt' export default mitt() // mitt基本使用:https://juejin.cn/post/6973106775755063333 组件中引入mitt并使用 import mitt from '@ 阅读全文
posted @ 2023-04-15 17:42 Felix_Openmind 阅读(398) 评论(0) 推荐(0) 编辑
摘要:<a-tabs v-model:activeKey="activeKey" @change="clickTag"> <a-tab-pane key="1" tab="警情" v-if="tab01Visible" :forceRender="true"> <AssociatedElementsInf 阅读全文
posted @ 2023-04-15 17:39 Felix_Openmind 阅读(642) 评论(0) 推荐(1) 编辑
摘要:业务效果图 核心代码 <template> <div class="select-container"> <a-modal v-model:visible="visible" @ok="handleOk" @cancel="handleCancel" width="1500px"> <templat 阅读全文
posted @ 2023-04-15 17:32 Felix_Openmind 阅读(821) 评论(0) 推荐(0) 编辑
摘要:import lodash from 'lodash' globalUserDataOptions.value = lodash.unionBy(globalUserDataOptions.value, "value"); 阅读全文
posted @ 2023-04-13 21:55 Felix_Openmind 阅读(26) 评论(0) 推荐(0) 编辑
摘要:案例 <div ref="logContainer></div> const logContainer = ref(null); const onStepChange = () =>{ logContainer.value.scrollIntoView({ behavior: "smooth", / 阅读全文
posted @ 2023-04-13 14:31 Felix_Openmind 阅读(532) 评论(0) 推荐(0) 编辑
摘要:console.log('deselectTagValue: > ', deselectTagValue) console.log('tempTags::::before', tags.value) let tempTags = toRaw(tags.value); console.log('tem 阅读全文
posted @ 2023-04-07 10:58 Felix_Openmind 阅读(60) 评论(0) 推荐(0) 编辑
摘要:参考:https://blog.csdn.net/sdibtjf1702/article/details/121923943 #### 效果 ![](https://img2023.cnblogs.com/blog/2104219/202305/2104219-20230525170001737-5 阅读全文
posted @ 2023-04-06 14:41 Felix_Openmind 阅读(2047) 评论(0) 推荐(0) 编辑
摘要:参考:https://github.com/vuejs/vue-router/blob/dev/docs/zh/guide/advanced/scroll-behavior.md 滚动行为 观看 Vue School 的如何控制滚动行为的免费视频课程 (英文) 使用前端路由,当切换到新路由时,想要页 阅读全文
posted @ 2023-04-01 19:40 Felix_Openmind 阅读(79) 评论(0) 推荐(0) 编辑

*{cursor: url(https://files-cdn.cnblogs.com/files/morango/fish-cursor.ico),auto;}
点击右上角即可分享
微信分享提示