摘要: # For more information on configuration, see: # * Official English Documentation: http://nginx.org/en/docs/ # * Official Russian Documentation: http:/ 阅读全文
posted @ 2025-06-02 17:14 麦田与星空 阅读(9) 评论(0) 推荐(0)
摘要: <script setup lang="ts"> import { ref, onMounted } from 'vue' import * as echarts from 'echarts' const echartsRef = ref(null) onMounted(() => { const 阅读全文
posted @ 2024-07-24 20:45 麦田与星空 阅读(21) 评论(0) 推荐(0)
摘要: 1 // 测试数组 2 const arrList = [ 3 {id: 1, name: 'apple'}, 4 {id: 2, name: 'banana'}, 5 {id: 3, name: 'orange'} 6 ] 7 8 // 常见写法 9 const nameList = arrLis 阅读全文
posted @ 2024-03-16 20:42 麦田与星空 阅读(319) 评论(0) 推荐(0)
摘要: 1. 在项目根目录下面,新建 .prettierrc.json 文件 2. prettuer 配置 { "printWidth": 100, "tabWidth": 2, "useTabs": true, "semi": true, "singleQuote": true, "trailingCom 阅读全文
posted @ 2023-07-12 11:21 麦田与星空 阅读(2320) 评论(0) 推荐(1)
摘要: 问题: vscode编译器在文件关闭后,全局搜索失效,无法搜索到文件内容,打开文件后,可以搜索到。 原因:电脑安装了绿盾加密软件,对项目文件进行了加密,vscode编译器无法检索关闭的文件。 解决方案:对项目文件进行解密操作(申请解密) 阅读全文
posted @ 2023-07-01 10:34 麦田与星空 阅读(949) 评论(0) 推荐(0)
摘要: { "git.enableSmartCommit": true, // 修改注释颜色 "editor.tokenColorCustomizations": { "comments": { "fontStyle": "bold", "foreground": "#82e0aa" } }, // 配置文 阅读全文
posted @ 2022-11-01 14:32 麦田与星空 阅读(195) 评论(0) 推荐(0)
摘要: { "path-autocomplete.extensionOnImport": true, "path-autocomplete.pathMappings": { "@": "${folder}/src" }, "emmet.excludeLanguages": [ "markdown" ], " 阅读全文
posted @ 2022-11-01 14:31 麦田与星空 阅读(89) 评论(0) 推荐(0)
摘要: 问题图例: 解决方法:配置grid对象属性 代码图例: 配置了grid对象属性后的展示图例: 扩展知识(原文链接:https://blog.csdn.net/weixin_42821697/article/details/117152275): grid配置项:图标离容器的距离show:是否显示直角 阅读全文
posted @ 2022-09-14 21:33 麦田与星空 阅读(1733) 评论(0) 推荐(0)
摘要: 1.在vue.config.js中配置如下代码 module.exports = { devServer: { proxy: { '/api': { target: 'https://www.vue-js.com/api', changeOrigin: true, pathRewrite: { '^ 阅读全文
posted @ 2022-09-14 21:18 麦田与星空 阅读(364) 评论(0) 推荐(0)
摘要: 盒模型都是由四个部分组成的,分别是margin、border、padding 和 content。即外边距,边框,内边距,内容。 一;标准盒模型 1. box-sizing: content-box 表示标准盒模型(默认值) 2.标准盒模型在计算宽高的时候只计算 content 内容的宽高,不包含内 阅读全文
posted @ 2022-09-07 22:22 麦田与星空 阅读(542) 评论(0) 推荐(0)