随笔分类 -  Web前端

摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8" /> <title></title> </head> <body> <script> let person = { name: "张三", age: 15 } //vue2响应式原理 let p 阅读全文
posted @ 2021-07-13 16:32 星时代曹波涛 阅读(38) 评论(0) 推荐(0)
摘要:const cheerio = require("cheerio") const axios = require("axios") const fs = require("fs") if (!fs.existsSync("download")) { fs.mkdirSync("download", 阅读全文
posted @ 2021-05-30 12:32 星时代曹波涛 阅读(179) 评论(0) 推荐(0)
摘要://发布订阅模式(NodeJs版) let eventEmiter = { on(event, fun) { this[event]=fun }, emit(event,...arg){ this[event](...arg) } } eventEmiter.on("build", function 阅读全文
posted @ 2021-04-30 01:26 星时代曹波涛 阅读(212) 评论(0) 推荐(0)
摘要:package com.example.a0420; import androidx.appcompat.app.AppCompatActivity; import android.os.Bundle; import android.widget.ArrayAdapter; import andro 阅读全文
posted @ 2021-04-20 09:31 星时代曹波涛 阅读(143) 评论(0) 推荐(0)
摘要:这几天在用Vue3写点小项目遇到了一些坑! 路由的404方式变了 只顾着看vue3核心文档,写404的时候发现原来的 * 的配置方法在vue3里面已经不适用了。官方文档建议使用如下: { path: '/404', name: '404', component: () => import('../v 阅读全文
posted @ 2021-03-17 19:38 星时代曹波涛 阅读(1492) 评论(0) 推荐(2)
摘要:<iframe width="250" scrolling="no" height="60" frameborder="0" allowtransparency="true" src="http://i.tianqi.com/index.php?c=code&amp;id=12&amp;icon=1 阅读全文
posted @ 2021-03-04 21:47 星时代曹波涛 阅读(59) 评论(0) 推荐(0)
摘要:var download_csv_using_blob = function (file_name, content) { var csvData = new Blob([content], { type: 'text/csv' }); // for IE if (window.navigator 阅读全文
posted @ 2020-12-06 21:08 星时代曹波涛 阅读(83) 评论(0) 推荐(0)
摘要:axios访问被拒绝,加这个就够了! 打开main.js import promise from 'es6-promise'; promise.polyfill(); 阅读全文
posted @ 2020-10-24 14:04 星时代曹波涛 阅读(130) 评论(0) 推荐(0)
摘要:vue.config.js module.exports={ devServer:{ proxy:'http://localhost:8080' } } 阅读全文
posted @ 2020-10-24 13:04 星时代曹波涛 阅读(74) 评论(0) 推荐(0)
摘要:import $axios from 'axios'; $axios.defaults.timeout = 5000; $axios.defaults.baseURL = "http://127.0.0.1:8888/api"; $axios.defaults.headers.post['Conte 阅读全文
posted @ 2020-09-23 23:01 星时代曹波涛 阅读(120) 评论(0) 推荐(0)
摘要:概况 熟悉HTML5、CSS3、JavaScript、ES6规范 熟悉JQuery框架 熟悉BootStrap 熟悉Less、Sass 熟悉Vue 熟悉Git postman Bootstrap 布局 container 固定容器 container—fluid 流体容器 栅格系统 .col- 针对 阅读全文
posted @ 2020-08-07 15:12 星时代曹波涛 阅读(234) 评论(0) 推荐(0)