会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
AlanTao
博客园
首页
新随笔
联系
订阅
管理
2020年10月31日
开发Dapp
摘要: 开发Dapp流程 1.vue前端生成项目, 写好前端页面 2.安装truffle npm install -g truffle npm install -g ethereumjs-testrpc 3.下载ganache软件 https://www.trufflesuite.com/ganache#
阅读全文
posted @ 2020-10-31 12:00 AlanTao
阅读(721)
评论(0)
推荐(0)
2020年10月20日
css flex
摘要: .component-upload-wrapper { position: relative; width: 100%; display: flex; align-items: center; justify-content: space-between; flex-flow: wrap; .fil
阅读全文
posted @ 2020-10-20 10:42 AlanTao
阅读(135)
评论(0)
推荐(0)
2020年10月19日
vue 注册全局组件
摘要: // 获取文件名作为全局组件名 // const getFileName = (str: string): string => { return str.replace(/(.*\/)*([^.]+).*/gi, '$2'); }; // 注册全局组件 // export function regi
阅读全文
posted @ 2020-10-19 17:24 AlanTao
阅读(340)
评论(0)
推荐(0)
2020年10月14日
window自定义事件
摘要: 1.定义方法名 options.detail = '测试'; /** * 自定义事件, websoketCreate接收 */ const event = new CustomEvent('watchWebsocket', options); window.dispatchEvent(event);
阅读全文
posted @ 2020-10-14 11:50 AlanTao
阅读(1431)
评论(0)
推荐(0)
2020年9月24日
vue typescript .eslintrc.js
摘要: module.exports = { env: { browser: true, }, extends: ['eslint:recommended', 'plugin:vue/essential', 'plugin:@typescript-eslint/recommended'], parserOp
阅读全文
posted @ 2020-09-24 17:44 AlanTao
阅读(327)
评论(0)
推荐(0)
2020年9月23日
css word-break: break-word;无效
摘要: 1.css断行元效, 添加 white-space: normal; word-break: break-word;
阅读全文
posted @ 2020-09-23 17:02 AlanTao
阅读(1101)
评论(0)
推荐(0)
2020年9月10日
vscode vue 片段
摘要: { // Place your snippets for vue here. Each snippet is defined under a snippet name and has a prefix, body and // description. The prefix is what is u
阅读全文
posted @ 2020-09-10 17:11 AlanTao
阅读(127)
评论(0)
推荐(0)
2020年8月25日
vue 新窗口打开页面
摘要: 有些业务需要在 vue 中打开新窗口,通常有两种方式: 1. <router-link>标签 <router-link tag="a" target="_blank" :to="{name:'ArticleDetail',params:{id:0}}">新增文章</router-link> 其中,
阅读全文
posted @ 2020-08-25 18:05 AlanTao
阅读(8840)
评论(0)
推荐(0)
2020年8月13日
一键结束进程
摘要: 1.用户名, 如41077 C:\Windows\System32\taskkill.exe /F /FI "USERNAME eq 41077" /FI "IMAGENAME ne explorer.exe" /FI "IMAGENAME ne dwm.exe" 1.右键快捷方式 => 下一步
阅读全文
posted @ 2020-08-13 23:49 AlanTao
阅读(492)
评论(0)
推荐(0)
2020年8月7日
获取手机语言
摘要: var getLanguage = { language: { 'zh-CN': 'zh_CN', 'zh-HK': 'zh_TW', 'zh-TW': 'zh_TW', 'en-US': 'en_US', 'ko-KR': 'ko_KR', 'ja-JP': 'ja_JP', 'ru-RU': '
阅读全文
posted @ 2020-08-07 14:14 AlanTao
阅读(370)
评论(0)
推荐(0)
下一页
公告