摘要: interface Radio{ switchRadio():void } interface Battery{ checkBatteryStatus() } interface RadioWithBattery extends Radio{ } class Car implements Radio 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(15) 评论(0) 推荐(0)
摘要: <Upload name="file" action="xxxx" onChange={handleChange} fileList={fileList} headers={{ "Authorization": getToken() || "" }} > {headPic ?"" : uploadB 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(18) 评论(0) 推荐(0)
摘要: class Animal{ protected name: string; static age=18 constructor (name:string){ this.name=name } run(){ return `${this.name}` } } const snake=new Anima 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(24) 评论(0) 推荐(0)
摘要: const downURL = window.URL.createObjectURL(new Blob([data])); // data 为获取到的二进制数据 const listNode = document.createElement("a"); // 这里注意 : 非同源a标签的downlo 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(40) 评论(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-08-26 20:35 前端导师歌谣 阅读(27) 评论(0) 推荐(0)
摘要: form.setFieldsValue({ parentId: "", code: "", name: "", contact: "", addr: "", contactNumber: "", status: "" }) 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(21) 评论(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-08-26 20:35 前端导师歌谣 阅读(62) 评论(0) 推荐(0)
摘要: import java.util.Scanner; public class ValueDemo1{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int i=sc.nextInt(); Syst 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(17) 评论(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-08-26 20:35 前端导师歌谣 阅读(25) 评论(0) 推荐(0)
摘要: 前言 在前端的vue的项目中 不免会安装较多的文件依赖 对于常规安装依赖 我知道的方式有两种npm和yarn 1npm 1.1定义 npm: Nodejs下的包管理器。 1.2 安装 安装node环境 直接node官网安装一下 1.3 下载地址 node地址 下载安装好之后直接下一步下一步安装 安装 阅读全文
posted @ 2022-08-26 20:35 前端导师歌谣 阅读(54) 评论(0) 推荐(0)