上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
摘要: +在旧页面要跳转的地方 goHome() { window.location.href = "http://xxxxxxxxxxxxxxxxxxx/?token=" + localStorage.getItem("token") + "&username=" + localStorage.getIt 阅读全文
posted @ 2022-11-07 17:42 zongkm 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 先写一下api里面的js吧 一般post的就是存一些数据给接口,接口本身可能也有数据 一般get的就是通过关键字,拿接口里面的数据 ####我看见的文本 js里面 因为需要把数据给接口,所以data:data 可以简写成data export function changePassword(data 阅读全文
posted @ 2022-11-07 17:26 zongkm 阅读(37) 评论(0) 推荐(0) 编辑
摘要: 1.js文件 import Vue from "vue"; const EventBus = new Vue(); export default EventBus; 接受传值的地方 import EventBus from "../utils/event-bus"; EventBus.$on("re 阅读全文
posted @ 2022-11-07 16:31 zongkm 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 1 最普通的 scopedSlots: { customRender: "currency" }, align: "center", <template slot="currency" slot-scope="text"> <div v-if="text"> <div>{{ text }}</div 阅读全文
posted @ 2022-11-07 10:26 zongkm 阅读(11) 评论(0) 推荐(0) 编辑
摘要: -webkit- Safari, 谷歌浏览器等使用Webkit引擎的浏览器 -moz- 火狐等使用Mozilla浏览器引擎的浏览器 -o- Opera浏览器 -ms- Internet Explorer 浏览器 阅读全文
posted @ 2022-10-18 20:06 zongkm 阅读(10) 评论(0) 推荐(0) 编辑
摘要: sass (用的居多) 1、基于Ruby语言 1.1 mac系统不需要下载 1.2 windows系统就需要下载ruby这个软件了,进行安装 下载安装地址:https://www.sass.hk/install/ 2、使用的时候咱们用的是scss 3、sass语法 3.1 变量 : $变量名称:值; 阅读全文
posted @ 2022-10-18 19:59 zongkm 阅读(108) 评论(0) 推荐(0) 编辑
摘要: ###语法格式查询网站:http://lesscss.cn/ ##less的语法格式一、变量 @变量名称:值; 二、运算符 + - * /三、自定义函数 定义: .函数名称(形参){ 函数体 } 调用: .函数名称(实参) 四、嵌套 div{ color:red; ul{ list-style: n 阅读全文
posted @ 2022-10-18 19:31 zongkm 阅读(105) 评论(0) 推荐(0) 编辑
摘要: <!DOCTYPE html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" /> <title> 阅读全文
posted @ 2022-10-17 15:41 zongkm 阅读(7) 评论(0) 推荐(0) 编辑
摘要: router.beforeEach((to, from, next) => { if (!to.query.code) { next({ path: to.path, query: { code: "hm" }, }); } else { next(); } }); 前置路由 一般使用router. 阅读全文
posted @ 2022-10-09 16:33 zongkm 阅读(152) 评论(0) 推荐(0) 编辑
摘要: 本地存储 : 特别重要 ###sessionStorage ###localStorage *****区别 sessionStorage关闭页面就消失 localStorage 除非手动清空,否则就算关闭页面也不会清空 *****区别 *******本地存储进去的value类型都是字符串 增加: s 阅读全文
posted @ 2022-10-02 09:31 zongkm 阅读(23) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 11 下一页
点击右上角即可分享
微信分享提示