上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页
摘要: https://www.cnblogs.com/LUA123/p/11281604.html 秘钥 NNr3GC89RHOHwpfZFz37YRQU0IC5ZLVw 阅读全文
posted @ 2021-07-14 17:07 zjxgdq 阅读(17) 评论(0) 推荐(0)
摘要: 解决重复使用路由问题 main.js import Router from 'vue-router' const routerPush = Router.prototype.push Router.prototype.push = function push(location) { return r 阅读全文
posted @ 2021-07-13 10:10 zjxgdq 阅读(71) 评论(0) 推荐(0)
摘要: module.exports ={ lintOnSave:false, outputDir:'dist', assetsDir:'static', productionSourceMap:false, publicPath:'./' , devServer:{ open:true, host:'0. 阅读全文
posted @ 2021-07-12 08:03 zjxgdq 阅读(53) 评论(0) 推荐(0)
摘要: <template> <div class="about-page"> <el-carousel height="700px" :interval="3000" arrow="always"> <el-carousel-item v-for="(item, index) in imgs" :key= 阅读全文
posted @ 2021-07-08 10:09 zjxgdq 阅读(27) 评论(0) 推荐(0)
摘要: mock.js官⽹:http://mockjs.com/ 安装命令:npm install --save mockjs scr>mock>index.ts import Mock from 'mockjs'; //设置请求延时 Mock.setup({ timeout:'200-2000',//单位 阅读全文
posted @ 2021-06-20 10:00 zjxgdq 阅读(647) 评论(0) 推荐(0)
摘要: import { createApp } from 'vue' import App from './App.vue' import router from './router' import store from './store' import vant from 'vant'; import  阅读全文
posted @ 2021-06-20 08:57 zjxgdq 阅读(459) 评论(0) 推荐(0)
摘要: "Print to console": { "prefix": "ts", "body": [ "<template>", "\t<div>", "\t</div>", "</template>", "<script lang=\"ts\">", "import {defineComponent} 阅读全文
posted @ 2021-06-19 09:19 zjxgdq 阅读(72) 评论(0) 推荐(0)
摘要: npm配置国内镜像源 2、使⽤用npm全局安装typescript第3集:开始我们第⼀一个 TS程序简介:带领⼤大家体验⼀一下编写⼀一个ts程序1、安装vscode2、将ts⽂文件编译成js⽂文件进⼊入命令⾏行行:node -v这⾥里里使⽤用的是淘宝的镜像:npm config set regist 阅读全文
posted @ 2021-06-18 10:51 zjxgdq 阅读(111) 评论(0) 推荐(0)
摘要: Express - 基于 Node.js 平台的 web 应用开发框架 - Express 中文文档 | Express 中文网 (expressjs.com.cn) Express 应用程序生成器 - Express 中文文档 | Express 中文网 (expressjs.com.cn) np 阅读全文
posted @ 2021-06-15 20:54 zjxgdq 阅读(50) 评论(0) 推荐(0)
摘要: Cookie router.beforeEach((to,from,next)=>{ store.commit('setToken',Cookie.get('token')) if(store.state.token){ store.commit('changIsSignIn',1) } if(to 阅读全文
posted @ 2021-06-15 16:25 zjxgdq 阅读(60) 评论(0) 推荐(0)
上一页 1 ··· 12 13 14 15 16 17 18 19 20 ··· 23 下一页