随笔分类 -  前端

摘要:1.旧项目 切换版本试试 2.新搞到的项目 删除下载好的node_modules 删除package-lock.json文件 清除npm缓存 npm cache clean --force npm install 阅读全文
posted @ 2024-05-30 00:29 lwx_R 阅读(55) 评论(0) 推荐(0)
摘要:1.服务端渲染SSR 将组件或页面通过服务器生成HTML字符串,在发送到游览器,最后将静态标记 “混合”为客户端上完全交互的应用程序。 1.1 优势 利于SEO SEO: Search Engine Optimization, 搜索引擎优化 不同爬虫工作原理类似,只会爬取源码,不会执行网站的任何脚本 阅读全文
posted @ 2024-04-04 23:16 lwx_R 阅读(68) 评论(0) 推荐(0)
摘要:1.安装和配置 npm install uview-ui@2.0.36 main.js import uView from "uview-ui"; Vue.use(uView); 2.icon <u-icon slot="right" color="#2979ff" size="28" name=" 阅读全文
posted @ 2024-04-02 23:18 lwx_R 阅读(56) 评论(0) 推荐(0)
摘要:1.table 1.1 根据字段枚举值展示对应内容 <el-table-column :formatter="typeFormat" prop="id" label="" width="180" align="center"> </el-table-column> const typeFormat 阅读全文
posted @ 2024-03-01 06:00 lwx_R 阅读(75) 评论(0) 推荐(0)
摘要:1, // tcpmux 7, // echo 9, // discard 11, // systat 13, // daytime 15, // netstat 17, // qotd 19, // chargen 20, // ftp data 21, // ftp access 22, // 阅读全文
posted @ 2024-02-20 23:29 lwx_R 阅读(23) 评论(0) 推荐(0)
摘要:Vite 阅读全文
posted @ 2024-02-20 16:59 lwx_R 阅读(23) 评论(0) 推荐(0)
摘要:VueRouter 阅读全文
posted @ 2024-02-19 23:43 lwx_R 阅读(9) 评论(0) 推荐(0)
摘要:Vuex 阅读全文
posted @ 2024-02-19 23:43 lwx_R 阅读(11) 评论(0) 推荐(0)
摘要:1.项目初始化 新建-项目-uniapp项目 目录结构:https://uniapp.dcloud.net.cn/tutorial/project.html │─components 符合vue组件规范的uni-app组件目录 │ └─comp-a.vue 可复用的a组件 ├─pages 业务页面文 阅读全文
posted @ 2023-12-30 00:58 lwx_R 阅读(52) 评论(0) 推荐(0)
摘要:1.荣耀40 开启USB调试,选择USB配置,选择音频来源,才行 阅读全文
posted @ 2023-12-30 00:56 lwx_R 阅读(51) 评论(0) 推荐(0)
摘要:vue3.3.4 + vite4.4.9 1.路由 1.1 安装和配置 npm install vue-router@4 router/index.js import { createRouter, createWebHashHistory, } from 'vue-router' import I 阅读全文
posted @ 2023-10-07 14:06 lwx_R 阅读(36) 评论(0) 推荐(0)
摘要:1.原因 某处使用position:fixed 2.解决 <el-dialog title="项目选择" :visible.sync="dialogTableVisible" width="90%" append-to-body> 阅读全文
posted @ 2023-09-19 00:11 lwx_R 阅读(113) 评论(0) 推荐(0)
摘要:v-for 出现了重复的key 阅读全文
posted @ 2023-09-04 21:21 lwx_R 阅读(40) 评论(0) 推荐(0)
摘要:## 1.原因:form表单里按下键盘会默认提交表单,而刷新页面。 ## 2.解决:form 标签上添加 @submit.native.prevent 阅读全文
posted @ 2023-09-04 21:20 lwx_R 阅读(654) 评论(0) 推荐(0)
摘要:## 1.表单验证 - trigger属性 ![](https://img2023.cnblogs.com/blog/2211217/202308/2211217-20230818104438578-1794323772.png) 阅读全文
posted @ 2023-08-18 10:44 lwx_R 阅读(21) 评论(0) 推荐(0)
摘要:## 1.父传子 - 利用ref [https://www.cnblogs.com/lwx11111/p/17629539.html]() - props 子组件 ```js props: { inputName: String, } ``` - 父组件 ```js ``` ## 2.子传父 ### 阅读全文
posted @ 2023-08-16 18:58 lwx_R 阅读(31) 评论(0) 推荐(0)
摘要:## 1.父组件 ``` ``` ## 2.子组件 ``` ``` 阅读全文
posted @ 2023-08-14 19:22 lwx_R 阅读(173) 评论(0) 推荐(0)
摘要:## 1.cd_catalog.xml ```xml Empire Burlesque Bob Dylan USA Columbia 10.90 1985 Hide your heart Bonnie Tyler UK CBS Records 9.90 1988 Greatest Hits Doll 阅读全文
posted @ 2023-05-22 11:32 lwx_R 阅读(29) 评论(0) 推荐(0)
摘要:1.使用fastJson 2.controller层 @PostMapping("") @ResponseBody public BaseResponse jsonFunction(@RequestBody String jsonData){ BaseResponse baseResponse = 阅读全文
posted @ 2023-02-21 00:12 lwx_R 阅读(27) 评论(0) 推荐(0)
摘要:1.下载layuiAdmin实例 2.修改std版本的views界面 3.实体管理界面 3.1 表单html <!-- 文章列表--> <div class="layui-card-body"> <div style="padding-bottom: 10px;"> <button class="l 阅读全文
posted @ 2023-02-21 00:03 lwx_R 阅读(1156) 评论(0) 推荐(0)