河畔的风

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::
  61 随笔 :: 0 文章 :: 0 评论 :: 15287 阅读
< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

05 2020 档案

摘要:<div> <img src='../../a.png'> </div> <style> img{ max-height: 100%; max-width: 100%; position: absolute; top: 50%; left: 50%; -webkit-transform: trans 阅读全文
posted @ 2020-05-28 10:58 河畔的风 阅读(263) 评论(0) 推荐(0) 编辑

摘要:return createElement( 'h' + this.level, [ createElement('a', { attrs: { name: headingId, href: '#' + headingId }, style: { color: 'red', }, 'class': { 阅读全文
posted @ 2020-05-25 16:08 河畔的风 阅读(568) 评论(0) 推荐(0) 编辑

摘要://复制文本信息 copyContext(val){ const input = document.createElement('input') document.body.appendChild(input) input.setAttribute('value',val) input.select 阅读全文
posted @ 2020-05-24 14:49 河畔的风 阅读(155) 评论(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 @ 2020-05-18 15:56 河畔的风 阅读(272) 评论(0) 推荐(0) 编辑

摘要:请求加入responseType = "blob"; —————————————————————————————————————— api.then(res =>{ //用来读取文件blob返回type为application/json的错误信息 if (res.response.type 'app 阅读全文
posted @ 2020-05-14 11:33 河畔的风 阅读(129) 评论(0) 推荐(0) 编辑

摘要:dllalsdf(){ // 获取时间戳 let timestamp=new Date().getTime(); // 获取XMLHttpRequest let xmlResquest = new XMLHttpRequest(); // 发起请求 xmlResquest.open("POST",' 阅读全文
posted @ 2020-05-14 11:31 河畔的风 阅读(146) 评论(0) 推荐(0) 编辑

摘要:import Vue from 'vue' import Vuex from 'vuex' import axaios from 'axios' import createPersistedState from "vuex-persistedstate" //将数据持久化, 此方法就是将store中 阅读全文
posted @ 2020-05-11 12:59 河畔的风 阅读(364) 评论(0) 推荐(0) 编辑

摘要:@font-face{ font-family: '字体name'; src: url('../font/本地字体.eot'); src: url('../font/本地字体.eot?#iefix') format('embedded-opentype'), url('../font/本地字体.tt 阅读全文
posted @ 2020-05-11 11:35 河畔的风 阅读(349) 评论(0) 推荐(0) 编辑

摘要:在组件的index.js文件中export出组件 组件 import Component from './Component ' const MyComponent= { install: function(Vue){ Vue.component('MyComponent',Component ) 阅读全文
posted @ 2020-05-11 11:24 河畔的风 阅读(162) 评论(0) 推荐(0) 编辑

摘要:import axios from 'axios'; import router from '../router' axios.interceptors.request.use( config => { if (localStorage.getItem("token")) { //统一将token带 阅读全文
posted @ 2020-05-11 10:45 河畔的风 阅读(195) 评论(0) 推荐(0) 编辑

摘要:可能会有的时候遇到切换git账号的问题 老的git需要修改电脑上验证凭证 git clone path git pull git mv old_foldername new_foldername 修改文件夹名字, 尽量使用git改文件名或者文件夹名称,否则会导致很多问题 git push orign 阅读全文
posted @ 2020-05-11 10:31 河畔的风 阅读(139) 评论(0) 推荐(0) 编辑

摘要:function isEmpty(v) { switch (typeof v) { case 'undefined': return true; case 'string': if (v.replace(/(^[ \t\n\r]*)|([ \t\n\r]*$)/g, '').length == 0) 阅读全文
posted @ 2020-05-11 10:17 河畔的风 阅读(313) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示