- 博客(4)
- 收藏
- 关注
原创 three.js中关于模型中心点的调整(不展示代码)
2.创建一个组,var group = new There.Group()1.使用geometry.center()这个方法设置模型的中心点。把模型添加到这个组当中,通过position来改变模型的位置。3.blander中。
2023-09-20 16:46:27
1101
1
原创 常用的js函数大全(自用)有搬运的
类型转换:parseInt\parseFloat\toString类型判断:typeof;eg:if(typeof(var)!="undefined")\isNaN字符处理函数:toLowerCase\touppercase\substring(从哪里截到哪)\substr(从哪里开始;截多少个字符) \indexOf(字串中找某串字符)\replace(替换函数)\charCodeAtconcatsplitjoin定时处理函数:setInterval;setTimeout;clea.
2022-02-22 20:15:06
273
原创 vue当中的$refs[formName].validate详解
vue当中的$refs[formName].validate详解//绑定好组件<el-form ref="form" :rules="rules" ...> ... <el-form-item ref="name" label="名称:" prop="name"> <el-input v-model="form.name" placeholder="请输入名称"/> </el-form-item>
2021-12-03 23:02:08
21598
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人