摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-07-05 18:41 前端导师歌谣 阅读(30) 评论(0) 推荐(0)
摘要: // methods 的作用,就是定义事件的处理函数 methods: { add(n) { // 在 methods 处理函数中,this 就是 new 出来的 vm 实例对象 // console.log(vm this) console.log(vm) // vm.count += 1 thi 阅读全文
posted @ 2022-07-05 18:41 前端导师歌谣 阅读(54) 评论(0) 推荐(0)
摘要: ### 什么是 vue 1. 构建用户界面 + 用 vue 往 html 页面中填充数据,非常的方便 2. 框架 + 框架是一套现成的解决方案,程序员只能遵守框架的规范,去编写自己的业务功能! + 要学习 vue,就是在学习 vue 框架中规定的用法! + vue 的指令、组件(是对 UI 结构的复 阅读全文
posted @ 2022-07-05 18:41 前端导师歌谣 阅读(42) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-07-05 18:41 前端导师歌谣 阅读(23) 评论(0) 推荐(0)
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-07-05 18:41 前端导师歌谣 阅读(115) 评论(0) 推荐(0)
摘要: import java.sql.Connection; import java.io.IOException; import java.sql.SQLException; //java异常处理 //异常 public class test82 { //定义方法声明定义异常,在满足条件时抛出异常对象, 阅读全文
posted @ 2022-06-25 15:26 前端导师歌谣 阅读(68) 评论(0) 推荐(0)
摘要: public class Employee { private String name; private String ags; public void setName(String name) { this.name = name; } public String getName() { retu 阅读全文
posted @ 2022-06-25 15:26 前端导师歌谣 阅读(22) 评论(0) 推荐(0)
摘要: //异常 public class test79 { //定义方法声明定义异常,在满足条件时抛出异常对象,程序转向异常处理 public double count(double n,double m)throws Exception { if (m == 0) {//如果除数等于0.则抛出异常实例 阅读全文
posted @ 2022-06-25 15:26 前端导师歌谣 阅读(37) 评论(0) 推荐(0)
摘要: //java异常初识 public class test78 { public static void main(String[] args) { countArraylength( -1 ); } public static int countArraylength(int length) { i 阅读全文
posted @ 2022-06-25 15:26 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要: @SuppressWarnings("all") public class GJClass<T> { public String getClassName(T t){ return t.getClass().getName(); } } 测试类 public class test76 { publi 阅读全文
posted @ 2022-06-25 15:26 前端导师歌谣 阅读(22) 评论(0) 推荐(0)