background picture of the home page

Hi,Friend

解决路由缓存问题

三种可选方案 1. 给router-view 添加key属性 <router-view :key="$route.fullPath"/> 2. 使用watch监听id变化重新拉取接口 watch( ()=>{ return route.params.id }, ()=>{ loadCateg

thumbnail of the cover of the post

Ubuntu桌面版允许root登录

第一步:设置好root密码,sudo passwd root 第二步:vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf 修改配置文件在最后加上:greeter-show-manual-login=true 第三步:重新启动 第四步:修改/roo

thumbnail of the cover of the post

ES6 Promise用法小结

Promise对象有以下两个特点。 (1)对象的状态不受外界影响。Promise对象代表一个异步操作,有三种状态:pending(进行中)、fulfilled(已成功)和rejected(已失败)。只有异步操作的结果,可以决定当前是哪一种状态,任何其他操作都无法改变这个状态。这也是Promise这个

thumbnail of the cover of the post

bat 批处理打包 vue项目

@echo off echo This file should only modified by Notepad and saved as type ANSI or the Chinese characters would not be shown correctly!!! echo 本文件只可

thumbnail of the cover of the post