上一页 1 2 3 4 5 6 7 8 ··· 35 下一页
摘要: dependencies - 项目依赖 在编码阶段和呈现页面阶段都需要的 项目依赖即在开发环境中,又在生产环境中 eg: js框架Vue、页面路由vue-router、各种UI框架antd、element-ui、vantdent -save -dev下载的插件放在devDependecies中 -s 阅读全文
posted @ 2024-03-19 17:58 Felix_Openmind 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 解决办法 直接将模板文件名称由中文改为英文 阅读全文
posted @ 2024-03-13 21:13 Felix_Openmind 阅读(13) 评论(0) 推荐(0) 编辑
摘要: /hooks/useModal.js import { nextTick, ref } from 'vue' import {isFunction} from "lodash-es"; export function useModal() { // 标题 // 执行ok、cancel方法 const 阅读全文
posted @ 2024-03-06 17:11 Felix_Openmind 阅读(76) 评论(0) 推荐(0) 编辑
摘要: useImage.js // 获取assets静态图片 export const getAssetsImge = name => { return new URL(`../assets/images/app_img/${name}`, import.meta.url).href; }; 使用 tab 阅读全文
posted @ 2024-03-02 16:37 Felix_Openmind 阅读(233) 评论(0) 推荐(0) 编辑
摘要: useModal.js import { nextTick, ref } from 'vue' import { isFunction } from '@/utils/judge' export function useModal() { // 标题 // 执行ok、cancel方法 const v 阅读全文
posted @ 2024-02-29 18:19 Felix_Openmind 阅读(75) 评论(0) 推荐(0) 编辑
摘要: 参考: https://www.php.cn/faq/562208.html 之前的写法 <component :is='xxx'></component> 异步加载组件 <template> <AsyncComponent v-if="item.data" :key="item.data.comI 阅读全文
posted @ 2024-02-25 22:30 Felix_Openmind 阅读(283) 评论(0) 推荐(0) 编辑
摘要: 解决办法 .eslintrc.js rules: { "prettier/prettier": ["error", {"endOfLine": "lf"}] }, .prettierrc.js // 行结束符使用 Unix 格式 endOfLine: 'lf', Webstom设置行结束符为lf格式 阅读全文
posted @ 2024-02-25 21:47 Felix_Openmind 阅读(64) 评论(0) 推荐(0) 编辑
摘要: components简介 在不同组件之间进行动态切换 Vue的元素加一个特殊的【is】属性来实现 多个组件使用同一个挂载点,之后动态在各个组件之间切换 内置组件keep-alive keep-alive 动态组件默认每次切换都会销毁组件并重新创建,这样会影像性能 使用keep-alive组件缓存非活 阅读全文
posted @ 2024-02-23 12:27 Felix_Openmind 阅读(26) 评论(0) 推荐(0) 编辑
摘要: box-shadow: 0 0.4px 3.6px rgba(0, 0, 0, 0.004), 0 1px 8.5px rgba(0, 0, 0, 0.01), 0 1.9px 15.7px rgba(0, 0, 0, 0.019), 0 3.4px 28.2px rgba(0, 0, 0, 0.0 阅读全文
posted @ 2024-02-21 15:29 Felix_Openmind 阅读(6) 评论(0) 推荐(0) 编辑
摘要: const USER_NAME = "wangzz"; class A {} let age = 25; var job = "coder"; function printInfo() { console.log("USER_NAME: ", this.USER_NAME); console.log 阅读全文
posted @ 2024-02-12 23:59 Felix_Openmind 阅读(2) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 35 下一页