摘要: 我们在写项目的时候往往为了风格的统一或者用户的体验需要统一按钮的位置或者排序,这里将MessageBox 弹框确定和取消按钮的位置进行转换,增加取消按钮类名cancelButtonClass ,通过设置类的样式来改变位置 达到效果 阅读全文
posted @ 2021-10-26 14:40 奔跑的哈密瓜 阅读(1373) 评论(0) 推荐(0) 编辑
摘要: 在ts编程中,methods发生了变化 从原来的: export default { methods:{ func(){ console.log("23") } } } 变成了: export default class App extends Vue { func(){ console.log(" 阅读全文
posted @ 2021-10-22 15:42 奔跑的哈密瓜 阅读(916) 评论(0) 推荐(0) 编辑
摘要: 当我们在安装vue脚手架的时候一不小心选择安装了严格模式,在使用时会很不方便,解决方案很简单 找到目录文件对指定行注掉就可以了 阅读全文
posted @ 2021-10-22 15:26 奔跑的哈密瓜 阅读(465) 评论(0) 推荐(0) 编辑
摘要: 这是因为当前版本与4.0.0不兼容 卸载当前版本sass: npm uninstall node-sass 安装指定版本sass: npm install node-sass@4.14.1 阅读全文
posted @ 2021-10-22 15:19 奔跑的哈密瓜 阅读(1106) 评论(0) 推荐(0) 编辑
摘要: 这篇文章中写的特别详细,留下地址 https://www.cnblogs.com/wisewrong/p/8570309.html 阅读全文
posted @ 2021-10-22 15:16 奔跑的哈密瓜 阅读(248) 评论(0) 推荐(0) 编辑
摘要: 在vue运行时出现这种错误,这是因为在<template></template>包含的代码中出现空格导致的,检查代码去掉空格就可以了 阅读全文
posted @ 2021-10-22 14:48 奔跑的哈密瓜 阅读(467) 评论(0) 推荐(0) 编辑
摘要: 1、在系统搜索框中 输入 Windos PowerShell 2、点击“管理员身份运行” 3、输入“ set-ExecutionPolicy RemoteSigned”回车 4、之后输入A,回车 5、再次回到项目中执行cnpm -v,执行成功。 阅读全文
posted @ 2021-10-22 14:38 奔跑的哈密瓜 阅读(685) 评论(0) 推荐(0) 编辑
摘要: 转载保留https://www.cnblogs.com/wzihan/p/14187929.html 阅读全文
posted @ 2021-10-15 10:53 奔跑的哈密瓜 阅读(1110) 评论(0) 推荐(0) 编辑
摘要: 有密码和用户名却进不去共享文件(在进去过共享文件后,又修改了密码,导致没有共享文件的登录框) 阅读全文
posted @ 2021-09-09 13:57 奔跑的哈密瓜 阅读(188) 评论(0) 推荐(0) 编辑
摘要: 在store文件夹下建立index.js import Vue from "vue"; import Vuex from "vuex"; import VuexPersistence from "vuex-persist"; Vue.use(Vuex); const vuexLocal = new 阅读全文
posted @ 2021-09-08 10:12 奔跑的哈密瓜 阅读(3516) 评论(1) 推荐(1) 编辑