2024年3月11日

摘要: 1、父组件向子组件传值 父组件 <fitSteps :stepActive="stepActive"> <div>插槽信息</div> <van-button type="primary" @click="FatherClick">下一步</van-button> </fitSteps> const 阅读全文

posted @ 2024-03-11 18:22 嗷呜~ 阅读(7) 评论(0) 推荐(0) 编辑

2023年7月13日

摘要: 手动点击设置全屏/退出全屏 html <div style="height:100%" v-if="isReloadData"> <div @click="fullScreen()">{{ isFullScreen ? '退出全屏' : '全屏展示' }}</div> </div> js expor 阅读全文

posted @ 2023-07-13 18:15 嗷呜~ 阅读(33) 评论(0) 推荐(0) 编辑

摘要: 1、echarts环形图设置主标题text和副标题subtext在环形图中居中显示 可以通过设置主标题和副标题的textAlign来设置,title textAlign methods: { initChart() { let self = this; // {height:'250px'} 设置t 阅读全文

posted @ 2023-07-13 16:19 嗷呜~ 阅读(209) 评论(0) 推荐(0) 编辑

2023年6月20日

摘要: 本地登录多账号并连接对应的远程仓库,主要就是 密钥配对,我这里刚开始配了密钥也将密钥复制到ssh但是还是连接不到第二个远程仓库,后来发现是需要 密钥代理 1、在当前项目下更改git账号信息; git config user.name "xxxxxx" git config user.email "x 阅读全文

posted @ 2023-06-20 19:01 嗷呜~ 阅读(150) 评论(0) 推荐(1) 编辑

2021年5月18日

摘要: 数据最高只有11条,做显示更多和隐藏,超过4条的数据就显示更多 阅读全文

posted @ 2021-05-18 17:57 嗷呜~ 阅读(535) 评论(0) 推荐(0) 编辑

2021年4月30日

摘要: 1-设置input的placeholder的字体样式 input::-webkit-input-placeholder { /* Chrome/Opera/Safari */ color: red; } input::-moz-placeholder { /* Firefox 19+ */ colo 阅读全文

posted @ 2021-04-30 17:41 嗷呜~ 阅读(368) 评论(0) 推荐(0) 编辑

2021年2月1日

摘要: 这里需要把 不会改变的 模板文件 放在 public 路径下 定义一个常量 引入 文件路径: const url = { downloadUrl: '/file/ServiceHallInfoTemplate.xlsx', } <a href={url.downloadUrl} download > 阅读全文

posted @ 2021-02-01 16:00 嗷呜~ 阅读(970) 评论(0) 推荐(0) 编辑

2020年12月22日

摘要: 1. 安装新版本的 node.js 2. 执行 npx create-react-app my-app 创建一个 react 项目。 3. cd my-app 4. npm start 问题:在创建 npm create-react-app my-app 时,报错: npm ERR! Could n 阅读全文

posted @ 2020-12-22 10:31 嗷呜~ 阅读(2672) 评论(0) 推荐(0) 编辑

2020年9月17日

摘要: 需求: 纵坐标为日期 横坐标为 时间点 且 横坐标有分支(前提事件) 纵坐标是用elementUi里的事件轴实现。 实现: <template> <div class="processInfo" v-loading="openAccountProcessLoading"> <common-title 阅读全文

posted @ 2020-09-17 16:17 嗷呜~ 阅读(17981) 评论(3) 推荐(1) 编辑

摘要: 需求: 点击新增 弹出另一个系统页面,进行操作 代码: html: <button type="button" class="btn btn-primary btn-sm" id="addRuleSeletedBtn">新建</button> <div class="ruleModal hide"> 阅读全文

posted @ 2020-09-17 14:37 嗷呜~ 阅读(3010) 评论(0) 推荐(0) 编辑

摘要: 需求: select下拉框 选择一个值时,把这个值的别的属性自动填充到页面的input中,且 select选项可以新增, 在选择新增的select选项时,经过打印 发现list中没有获取新增项。 解决方案: 通过把需要用到的每项的属性 添加到 自定义属性中,通过获取自定义属性的值来获取 代码: cs 阅读全文

posted @ 2020-09-17 14:18 嗷呜~ 阅读(1065) 评论(0) 推荐(0) 编辑

摘要: 需求: 原生js 模板引擎渲染: 代码: <select style="height: 28px;border-radius: 5px;" class="input-md selectpicker" data-live-search="true" id="ruleSeleted" name="rul 阅读全文

posted @ 2020-09-17 13:59 嗷呜~ 阅读(452) 评论(0) 推荐(0) 编辑

摘要: 简介: 基于jq的 下拉框 bootstrap-select 是基于 jQuery v1.9.1 +,Bootstrap的dropdown.js组件和Bootstrap的CSS Bootstrap 4仅适用于bootstrap-select v1.13.0 + bootstrap-select :g 阅读全文

posted @ 2020-09-17 13:50 嗷呜~ 阅读(419) 评论(0) 推荐(0) 编辑

2020年8月13日

摘要: ssh: Could not resolve hostname origin: Name or service not knownfatal: Could not read from remote repository. Please make sure you have the correct a 阅读全文

posted @ 2020-08-13 14:25 嗷呜~ 阅读(3221) 评论(0) 推荐(0) 编辑

2020年8月6日

摘要: Host key verification failed.fatal: Could not read from remote repository. Please make sure you have the correct access rightsand the repository exist 阅读全文

posted @ 2020-08-06 17:45 嗷呜~ 阅读(5783) 评论(0) 推荐(0) 编辑

2020年7月31日

摘要: install 依赖时,core-js安装失败 npm install core-js@2 或:cnpm install core-js@2 阅读全文

posted @ 2020-07-31 18:07 嗷呜~ 阅读(3605) 评论(0) 推荐(0) 编辑

摘要: 修改本地电脑的仓库用户名和邮箱 先查看本地的用户名和邮箱 git config user.name git config user.email 发现是上个用户的,进行修改 git config --global user.name "your name" git config --global us 阅读全文

posted @ 2020-07-31 10:45 嗷呜~ 阅读(3308) 评论(0) 推荐(0) 编辑

摘要: 问题: 最近在运行新项目时,安装依赖包时 cnpm install 报错。 cnpm : 无法将“cnpm”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写 ,如果包括路径,请确保路径正确,然后再试一次。 所在位置 行:1 字符: 1 解决: 1、先查看是否安装了cnpm 阅读全文

posted @ 2020-07-31 10:29 嗷呜~ 阅读(1004) 评论(0) 推荐(0) 编辑

2020年7月8日

摘要: 1、小程序 封装请求 判断 状态不是200 ,跳转页面 export function request(options) { // 获取设备信息 let versionType = global.globalData.versionType // 获取小程序版本信息 let accountType 阅读全文

posted @ 2020-07-08 16:37 嗷呜~ 阅读(181) 评论(0) 推荐(0) 编辑

摘要: 1、闭包 2、全局变量( 没有声明的变量) 3、计数器没有清除(setInterval) 阅读全文

posted @ 2020-07-08 11:34 嗷呜~ 阅读(178) 评论(0) 推荐(0) 编辑