摘要: callee是arguments的一个属性(arguments另一个属性是length) function test(){ console.log(arguments.callee) //返回test函数引用 ƒunction test(){} function demo(){ console.lo 阅读全文
posted @ 2020-05-08 13:53 菜鸟程序员的总结 阅读(487) 评论(0) 推荐(0) 编辑
摘要: 首先在src目录新建一个vuex文件夹,并且创建一个store.js文件 store.js详细内容如下 import Vue from 'vue';import Vuex from 'vuex'; //注册vuexVue.use(Vuex); //const state={ userinfo:JSO 阅读全文
posted @ 2020-05-08 11:09 菜鸟程序员的总结 阅读(199) 评论(0) 推荐(0) 编辑