上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 58 下一页
  2022年9月29日
摘要: 问题:使用VS2022创建WinForm程序,完了需要打包成安装程序,这时候我去下载Microsoft Visual Studio Installer Projects 2022插件,速度超级慢,恶心人。总算是下载下来了,我存到我的网盘上面了,下载链接,速度快点:https://pan.baidu. 阅读全文
posted @ 2022-09-29 10:33 邢帅杰 阅读(1430) 评论(0) 推荐(1) 编辑
  2022年9月21日
摘要: 官方文档:https://seb-l.github.io/pinia-plugin-persist/#vue3安装:npm i pinia-plugin-persist --save使用,注意是pinia.use(piniaPersist) import { createApp } from 'vu 阅读全文
posted @ 2022-09-21 15:46 邢帅杰 阅读(2848) 评论(0) 推荐(0) 编辑
  2022年9月20日
摘要: 1、之前在main.js中使用方式是:import { createPinia } from 'pinia' const pinia = createPinia(); app.use(pinia);2、现在的问题是我要再建一个js文件,需要用到我建的pinia的store,然后报错:getActiv 阅读全文
posted @ 2022-09-20 18:20 邢帅杰 阅读(13132) 评论(0) 推荐(0) 编辑
  2022年9月16日
摘要: 取响应式的变量值,生成一个新的响应式变量,插入响应式数组,这样防止每次插入数组的是同一个响应式变量,导致数组里面有多个元素,但全部是同一个值:var newRefArtName = ref(unref(artName)); 1、isRef() 检查某个值是否为 ref。var res = isRef 阅读全文
posted @ 2022-09-16 17:51 邢帅杰 阅读(395) 评论(0) 推荐(0) 编辑
  2022年9月9日
摘要: 1 let orderId = [] for(var i in this.selectedData){ console.log(this.selectedData[i])//打印可看到取到的值 orderId.push(this.selectedData[i].orderId)//取到数组每一个对象 阅读全文
posted @ 2022-09-09 17:34 邢帅杰 阅读(21) 评论(0) 推荐(0) 编辑
  2022年8月24日
摘要: : 1、如果类型不同,就[不相等] 2、如果两个都是数值,并且是同一个值,那么[相等];(!例外)的是,如果其中至少一个是NaN,那么[不相等]。(判断一个值是否是NaN,只能用isNaN()来判断) 3、如果两个都是字符串,每个位置的字符都一样,那么[相等];否则[不相等]。 4、如果两个值都是t 阅读全文
posted @ 2022-08-24 19:39 邢帅杰 阅读(29) 评论(0) 推荐(0) 编辑
摘要: pinia官网:https://pinia.vuejs.org/pinia菠萝挺不错,简单又灵活。1.安装:yarn add pinia 或者 npm install pinia,全局加 --location=global2.注册使用 main.js import { createApp } fro 阅读全文
posted @ 2022-08-24 16:49 邢帅杰 阅读(56) 评论(0) 推荐(0) 编辑
  2022年8月22日
摘要: 透传 Attributes:https://cn.vuejs.org/guide/components/attrs.html插槽 Slots:https://cn.vuejs.org/guide/components/slots.html依赖注入:https://cn.vuejs.org/guide 阅读全文
posted @ 2022-08-22 14:10 邢帅杰 阅读(349) 评论(0) 推荐(0) 编辑
  2022年8月19日
摘要: 使用defineProps进行父子组件传值,报异常:'defineProps' is not defined,没法用,看了很多文章都说配置在vue.config.js中:我的vue-cli版本是5.0.8 ,2022-08月装的。 module.exports = { env: { "node":t 阅读全文
posted @ 2022-08-19 15:06 邢帅杰 阅读(1457) 评论(0) 推荐(0) 编辑
  2022年8月18日
摘要: 一、ref 的作用就是将一个原始数据类型(primitive data type)转换成一个带有响应式特性的数据类型,原始数据类型共有7个,分别是:String/Number/BigInt/Boolean/Symbol/Null/Undefined用法 》头部导入:import {ref} from 阅读全文
posted @ 2022-08-18 14:36 邢帅杰 阅读(3368) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 58 下一页