上一页 1 2 3 4 5 6 ··· 13 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2023-07-17 14:25 Webwhl 阅读(8) 评论(0) 推荐(0) 编辑
摘要: git config --global user.name "你的名字或昵称"git config --global user.email "你的邮箱" git init git add . #将当前目录所有文件添加到git暂存区git commit -m "my first commit" #提交 阅读全文
posted @ 2023-07-05 15:42 Webwhl 阅读(3) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2023-06-29 12:02 Webwhl 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 根据以前写vue面包屑写的。 import { useLocation, matchRoutes, } from "react-router-dom"; const location = useLocation(); import router from './router' useEffect(( 阅读全文
posted @ 2023-06-07 17:04 Webwhl 阅读(444) 评论(0) 推荐(0) 编辑
摘要: 一、两个输入框 <template> <Row> <Col span="11"> <Form-item label="登记时间" prop="inputTime"> <DatePicker :value="caseInfo.inputTime" :options="disabledInputTime 阅读全文
posted @ 2023-05-15 16:32 Webwhl 阅读(224) 评论(0) 推荐(0) 编辑
摘要: import { useState } from "react"; import ReactDOM from "react-dom/client"; function MyForm() { const [inputs, setInputs] = useState({}); const handleC 阅读全文
posted @ 2023-05-15 14:42 Webwhl 阅读(40) 评论(0) 推荐(0) 编辑
摘要: 因为想启动一个命令同时执行json-server mock的数据和打开前端页面, --mode mock是想根据 process.env.XXX获取不同的环境。 vue根节点下.env.mock NODE_ENV=mock VUE_APP_URL=http://localhost:3000 *只有以 阅读全文
posted @ 2023-05-14 14:28 Webwhl 阅读(548) 评论(0) 推荐(0) 编辑
摘要: 一、pdf预览解决: 用iframe src后台路径。 二、word预览 这个插件支持.docx不支持.doc npm i docx-preview@0.1.4 npm i jszip const docx = require('docx-preview'); window.JSZip = requ 阅读全文
posted @ 2022-12-14 16:42 Webwhl 阅读(134) 评论(0) 推荐(0) 编辑
摘要: initEchartsFive() { let that = this; var myChart = this.$echarts.init(document.getElementById("map")); // axios.get("map.json").then((res) => { this.$ 阅读全文
posted @ 2022-12-02 14:27 Webwhl 阅读(213) 评论(0) 推荐(0) 编辑
摘要: npm install file-saver --savethis.$http.downFileApi(this.downForm).then((res) => { this.spinning = false; const blob = new Blob([res.data], { type: "a 阅读全文
posted @ 2022-12-01 14:14 Webwhl 阅读(386) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 13 下一页