会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
敲敲碰碰
博客园
首页
新随笔
联系
管理
订阅
上一页
1
2
3
4
5
6
7
下一页
2021年12月31日
vue-cli4安装less
摘要: npm install --save-dev sass-resources-loader module.exports = { configureWebpack: (config) => { pluginOptions: { // 配置全局less "style-resources-loader":
阅读全文
posted @ 2021-12-31 09:50 敲敲碰碰
阅读(224)
评论(0)
推荐(0)
2021年12月30日
js数组去重
摘要: 1.indexOf去重 function unqueArray (arr) { let unqueArray = arr.filter(function(elem, index, self) { return index == self.indexOf(elem); }) return unqueA
阅读全文
posted @ 2021-12-30 10:42 敲敲碰碰
阅读(47)
评论(0)
推荐(0)
2021年12月13日
移动端vue复制代码 ios和安卓以及兼容问题。
摘要: async copyTextBtn(val) { if (!val.desc) return Toast.fail("未上传文案"); let oInput = document.createElement("input"); oInput.value = val.desc.slice(0, 200
阅读全文
posted @ 2021-12-13 11:05 敲敲碰碰
阅读(275)
评论(0)
推荐(0)
h5公众号开发分享总结
摘要: 浪费了三天时间终于把这个坑填完,ios兼容和安卓兼容问题很多,总结一下供大家参考,如有不足,欢迎大家留言指正,谢谢。 一、产品要求与项目配置。 产品要求:在列表页面点击按钮,唤起分享面板,进行分享。(无法实现,h5无法通过js唤起分享面板)。 产品要求改进:通过微信右上角三个点进行分享,但是需要分享
阅读全文
posted @ 2021-12-13 11:01 敲敲碰碰
阅读(677)
评论(1)
推荐(0)
2021年11月5日
safari 浏览器open、location.href无法跳转问题解决
摘要:
阅读全文
posted @ 2021-11-05 11:30 敲敲碰碰
阅读(406)
评论(0)
推荐(0)
2021年8月5日
setup watch监听vuex值
摘要: import { reactive, ref, toRefs, onMounted, getCurrentInstance, computed, watch } from 'vue' import { useStore } from 'vuex' // vuex const store = useS
阅读全文
posted @ 2021-08-05 18:05 敲敲碰碰
阅读(965)
评论(0)
推荐(1)
vue3+elementPlus css /deep/ 问题
摘要: elementPlus使用/deep/会警告可以用下面方法替换: :deep(.el-input__inner){ border: 1px solid #9CAABF }
阅读全文
posted @ 2021-08-05 09:27 敲敲碰碰
阅读(874)
评论(0)
推荐(0)
vue3里面使用vuex
摘要: vue4+提供了useStore,引入useStore,其他写法就可以和之前的写法类似,具体如下: <template> <div>{{ $store.state.count }}</div> <button @click="myCommit ">点击</button> </template> sc
阅读全文
posted @ 2021-08-05 09:10 敲敲碰碰
阅读(3114)
评论(0)
推荐(0)
vue3.0里全局封装axios
摘要: 1.项目目录 2.index.js import axios from 'axios' import router from '../router/index' import { ElLoading, ElMessage } from 'element-plus' import config fro
阅读全文
posted @ 2021-08-05 08:59 敲敲碰碰
阅读(2072)
评论(0)
推荐(0)
2021年7月28日
element-ui menu设置:default-active 不生效处理
摘要: 1.el-menu上加上@select='selectmenu' 2.methods里面加入selectmenu方法 selectmenu (index, indexPath) { this.activeMenu = index window.localStorage.setItem('active
阅读全文
posted @ 2021-07-28 15:41 敲敲碰碰
阅读(6674)
评论(1)
推荐(1)
上一页
1
2
3
4
5
6
7
下一页
公告