![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
JS
longyinfengwu
这个作者很懒,什么都没留下…
展开
-
elment ui隐藏el-tabs 组件头部显示,可通过按钮或checkbox来控制tab切换
主要功能如题,直接隐藏tab头部修改样式即可<el-tabs id='tabs-area' v-model="activeName" @tab-click="handleClick" stretch style="background:"> <el-tab-pane label="" name="second"> </el-tab-pane> <el-tab-pane label="" name="first"> </e原创 2022-04-13 17:28:38 · 2065 阅读 · 0 评论 -
js将html字符串打开成新页面,表单正常展示
let myWindow=window.open('','','width:100%,height:100%'); myWindow.document.write(info) //info为html的字符串 myWindow.focus();原创 2021-10-20 11:43:01 · 2147 阅读 · 0 评论 -
js二次弹窗确认的使用
简单例子//点击删除按钮触发的函数function del_plugin(id) { if (administrator_List.indexOf(chinese_name) > -1) { swal({ title: "", text: "您确定要删除此模型吗?", type: "question", showCancelButton: true, showConfirmBut原创 2021-05-19 19:41:38 · 1493 阅读 · 0 评论 -
js 截取特殊字符前后的所有字符串
截取/前的字符var index = pythonpath.lastIndexOf("/"); Writepathexe = pythonpath.substring(0, index);截取/后的字符var index = pythonpath.lastIndexOf("/");str =str .substring(index+1,str.length);...原创 2020-03-18 11:39:53 · 4283 阅读 · 0 评论