摘要:
callee是arguments的一个属性(arguments另一个属性是length) function test(){ console.log(arguments.callee) //返回test函数引用 ƒunction test(){} function demo(){ console.lo 阅读全文
摘要:
首先在src目录新建一个vuex文件夹,并且创建一个store.js文件 store.js详细内容如下 import Vue from 'vue';import Vuex from 'vuex'; //注册vuexVue.use(Vuex); //const state={ userinfo:JSO 阅读全文