logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

vue中点击按钮切换图片

vue中点击按钮切换图片直接附上代码,亲测有效<!----><template><div><div class=""><button type="primary" @click="one()">我是图片1</button><button type="primary" @click="two()">我是图片2<

初学unity 3D-按钮点击事件触发函数

初学unity 3D-按钮按下与抬起点击事件触发函数相当于是键盘输入 unity本身默认包含有这样类似的触发事件,我们只需要会使用即可:可以给物体进行脚本绑定,使得物体可以移动:public GameObject hezi;可以写在Update()里面,一直实时监测:if (Input.GetKeyDown(KeyCode.W)){Debug.Log("键盘W键按下");pushA();//编写你

#unity#3d#c#
Error: Command failed :gradlew.bat appinstallDebug -PreactNativeDevServerPort=8081报错

Error: Command failed: gradlew.bat app:installDebug -PreactNativeDevServerPort=8081报错前提保证自己配置的安卓环境没有问题,环境变量路径设置正确。当运行Android代码时,遇到的错误:刚开始以为是 端口8081 在启动时 被占用,搜索问题时,去react官网配置查找原因:方法一:我们可以在win下,通过cmd指令:

文章图片
#react native#android
小程序-获取input值的方法

微信小程序-获取input值的方法

#小程序#微信小程序
vue中点击按钮切换图片

vue中点击按钮切换图片直接附上代码,亲测有效<!----><template><div><div class=""><button type="primary" @click="one()">我是图片1</button><button type="primary" @click="two()">我是图片2<

js_moment

js一、moment.jsMoment.js是一个轻量级的JavaScript时间库,它方便了日常开发中对时间的操作,提高了开发效率。日常开发中,通常会对时间进行下面这几个操作:比如获取时间,设置时间,格式化时间,比较时间等等。下面就是我对moment.js使用过程中的整理,方便以后查阅。// require 方式var moment = require('moment');二、设定moment区

#javascript#node.js
Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime问题解决

Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime问题解决运行原先vue程序时,npm run dev 却报错怀疑是安装新版本安卓环境可能对之前vue2.0开发冲突。Node Sass does not yet support your current en

#node.js
暂无文章信息