摘要: 安装 npm i marked -S npm install github-markdown-css -D npm install highlight.js -D 引入 import marked from 'marked' import hljs from "highlight.js"; // 引 阅读全文
posted @ 2021-10-21 11:27 Binary二进制 阅读(475) 评论(0) 推荐(0)
摘要: function save_parameters(item) { //导出(保存)参数 var aTag = document.createElement("a"); var blob = new Blob([JSON.stringify(config)]); //写入需要导出的内容 aTag.do 阅读全文
posted @ 2021-10-12 14:38 Binary二进制 阅读(692) 评论(0) 推荐(0)
摘要: html代码部分 <input type="file" ref="upload" accept=".txt" class="file" @change="getTxtList" v-show="false"/> <el-button size="mini" type="primary" @click 阅读全文
posted @ 2021-10-12 14:37 Binary二进制 阅读(1736) 评论(0) 推荐(0)
摘要: 安装 request npm install --save request 在对应的js引入 var request = require('request'); 使用 1 app.get('/Joke', (req, res) => { 2 var e = request({ //使用 requir 阅读全文
posted @ 2020-08-04 16:10 Binary二进制 阅读(320) 评论(0) 推荐(0)