摘要: <el-table-column label="公告内容" align="center" prop="content"> <template slot-scope="scope"> <div v-html="scope.row.content"></div> </template> </el-tab 阅读全文
posted @ 2022-11-17 11:45 不爱学习的摆烂王 阅读(73) 评论(0) 推荐(0)
摘要: 1、开启防火墙 systemctl start firewalld 2、开放指定端口 firewall-cmd --zone=public --add-port=1935/tcp --permanent 命令含义: --zone #作用域 --add-port=1935/tcp #添加端口,格式为: 阅读全文
posted @ 2022-10-14 14:13 不爱学习的摆烂王 阅读(468) 评论(0) 推荐(0)
摘要: 二.安装ifconfig命令 1、ifconfig命令是设置或显示网络接口的程序,可以显示出我们机器的网卡信息,可是有些时候最小化安装CentOS等Linux发行版的时候会默认不安装ifconfig等命令,这时候你进入终端,运行ifconfig命令就会出错 ifconfig 2、首先想到是不是环境变 阅读全文
posted @ 2022-10-14 10:29 不爱学习的摆烂王 阅读(3129) 评论(0) 推荐(0)
摘要: 1.使用系统的root账户 2.切换到/use/local 目录下 3.下载mysql ?wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.21-linux-glibc2.12-x86_64.tar.xz也可以直接在官方下载最新 阅读全文
posted @ 2022-10-14 10:23 不爱学习的摆烂王 阅读(172) 评论(0) 推荐(0)
摘要: 1、进入cmd 2、netstat -o -n -a | findstr :8080 TCP 0.0.0.0:3000 0.0.0.0:0 LISTENING 3116 3、taskkill /F /PID 3116 阅读全文
posted @ 2022-10-12 16:43 不爱学习的摆烂王 阅读(93) 评论(0) 推荐(0)
摘要: package com.itcast.msmservice.utils; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.HashMap; import java.util.List; impo 阅读全文
posted @ 2022-10-11 15:34 不爱学习的摆烂王 阅读(18) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-10-11 15:23 不爱学习的摆烂王 阅读(23) 评论(0) 推荐(0)
摘要: 使用location.href=’/url’来跳转,简单方便,但是刷新了页面;使用history.pushState(’/url’),无刷新页面,静态跳转; 引进router,然后使用router.push(’/url’)来跳转,使用了diff算法,实现了按需加载,减少了dom的消耗。其实使用rou 阅读全文
posted @ 2022-09-27 14:21 不爱学习的摆烂王 阅读(1741) 评论(0) 推荐(0)
摘要: 做谷粒学苑项目时,在保存登录状态环节出现该问题 取cookie时老师强调要使用JSON.pase()解析cookie为json对象 var userStr = cookie.get("guli_ucenter"); // 把字符串转换json对象(js对象) if (userStr) { this. 阅读全文
posted @ 2022-09-27 14:00 不爱学习的摆烂王 阅读(887) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-09-16 11:22 不爱学习的摆烂王 阅读(29) 评论(0) 推荐(0)