![](https://img-blog.csdnimg.cn/20201014180756928.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
bug与解决方案
小橙几
这个作者很懒,什么都没留下…
展开
-
js原生实现步骤条
1.定義一個流程數組和一个步骤状态2.遍历这个流程数组,如果步骤状态大于流程,checked=true,3.页面输出遍历的流程数组,checked的div点亮原创 2022-12-06 14:49:51 · 1073 阅读 · 1 评论 -
vue 点击div以外的地方隐藏
点击div以外的地方隐藏; 1.给目标div加ref, 2.给document添加点击监听, 判断optionDom.contains转载 2022-12-05 18:15:21 · 1711 阅读 · 0 评论 -
flutter 输入框maxLines动态变化
TextField(maxLines: null), TextField(minLines: 2, maxLines: 4)原创 2022-01-20 10:47:24 · 2035 阅读 · 0 评论 -
vue报错 Maximum call stack size exceeded
<template> <div>{{_timeFormat(date)}}</div></template>报错原因在html中使用了_原创 2021-11-11 10:30:15 · 580 阅读 · 0 评论 -
vue启动报错‘vue-cli-service serve‘
vue启动报错’vue-cli-service serve’我百度了很多’vue-cli-service serve’报错解决, 最后发现我忽略了一句很重要的’ Cannot find module ‘vue-loader-v16/package.json’解决’Cannot find module ‘vue-loader-v16/package.json’npm i --save-dev vue-loader-v16参考:https://stackoverflow.com/questions/6原创 2021-11-07 23:31:17 · 1294 阅读 · 0 评论 -
PostCSS received undefined instead of CSS string
報錯:PostCSS received undefined instead of CSS string解決:npm install --registry=https://registry.npm.taobao.org原创 2021-10-09 19:31:45 · 69 阅读 · 0 评论 -
vue3.x使用i18n和i18n Ally自动化翻译
以下为vue3.x 使用i18n和i18n Ally自动化翻译的步骤, vue2.x配置i18n步骤>>vue 版本> 3.0.0vue/cli 版本 4.5.13vue-i18n 版本 > 9.1.71.安装 i18nnpm install vue-i18n@next 2.在vscode中安装i18n Ally插件3.配置vscode setting.json{ "i18n-ally.localesPaths": ["src/locales"], // 翻原创 2021-08-17 19:44:26 · 2603 阅读 · 0 评论 -
vue 使用i18n和i18n Ally自动化翻译
vue 使用i18n和i18n Ally自动化翻译1.安装 i18nnpm install vue-i18n --save-dev2.在vscode中安装i18n Ally插件3.配置vscode setting.json{ "i18n-ally.localesPaths": ["src/locales"], // 翻译文件路径 "i18n-ally.keystyle": "nested", "i18n-ally.translate.saveAsCandidates": true,原创 2021-08-16 14:53:35 · 7131 阅读 · 1 评论 -
vue 如何引入全局scss变量
如何引入全局scss变量1.新建一个全局scss文件variables.scss$common-color: #ff233c;2.在vue.config.js中配置module.exports = { devServer: {}, css: { loaderOptions: { sass: { additionalData: ` @import "@/assets/style/variables.scss"; `原创 2021-08-07 14:35:41 · 746 阅读 · 0 评论 -
react 文字水平滚动 文字走马灯
/** * 文字水平滚动 * 用法: */import React, { PureComponent } from ‘react’;let dataArr = [];let distanceArr = [];export default class Marquee extends PureComponent {constructor(props) {super(props);this...原创 2020-04-01 02:37:34 · 6519 阅读 · 1 评论 -
管理后台H5页面可视化编辑参考
https://blog.csdn.net/weixin_30341745/article/details/95434132https://www.youzan.com/v2/showcase/feature/design#/edit/83251420原创 2020-03-30 18:08:06 · 1942 阅读 · 0 评论 -
el-date-picker编辑时无法调用change
新增时,有触发change,但是编辑时,有原来的值,不触发change参考原创 2020-02-27 21:38:38 · 4012 阅读 · 0 评论 -
npm i 提示 unable to verify the first certificate
npm i 提示 unable to verify the first certificatenpm i --no-strict-ssl原创 2019-12-24 14:41:17 · 542 阅读 · 0 评论 -
小程序禁止五秒内发送重复请求 js防止重复请求
<view bindtap="togetherSteps"></view>data:{ isTogether:false,//默认是false, 可点击},//点击事件togetherSteps(){let that = thisif (!this.data.isTogether){ this.setData({ isTogether:...原创 2019-01-16 19:41:12 · 2977 阅读 · 0 评论 -
vue h5移动端禁止缩放
安卓在index.html里面写<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">ios在APP.vue里面写<script>window.onload = function() { ...原创 2019-01-18 17:18:47 · 5337 阅读 · 2 评论