-
vue-element-ui 弹出页面层
需求:需要在商品列表页面点击添加商品按钮弹出添加商品页面解决:一、通过抽屉drawer弹出二、通过dialog弹出本文主要讲通过dialog弹出,其实原理是一样的。只是标签不一样首先、在src/components目录下创建文件夹addGoods,将添加商品页面复制到该文件夹下(注意如果添加商品页面有通过相对路径引入文件的记得调整路径)//js中引入文件importaddGoodsfrom'@/c… -
vue 监听窗口关闭
需求:需要用户关闭窗口时,弹出提示确认,如此则需要监听窗口关闭了百度找了下,发现大部分都是这样写的,在mounted里面添加监听事件mounted(){window.addEventListener('beforeunload',e=>this.beforeunloadHandler(e))window.addEventListener('unload',e=>this.unloadHandler… -
php获取ip归属地
/***@name:获取ip归属地*@param{str}$ipIP地址*@author:Turbo*@Date:2022-05-2009:15:44*/publicfunctiongetIpAddress($ip=''){if(empty($ip)){$ip=$_REQUEST;if(empty($ip))die('请传输ip地址');//根据实际调用方式去返回数据}$ch=curl_init(… -
windows服务器系统分盘教程
windows服务器系统分盘教程 -
Apktool回编译问题:libpng error: Not a PNG file
I:UsingApktool2.0.0I:Checkingwhethersourceshaschanged...I:Smalingsmalifolderintoclasses.dex...I:Checkingwhetherresourceshaschanged...I:Buildingresources...libpngerror:NotaPNGfileERROR:Failureprocessin…