數組 1.什么是數組? (1)字面理解就是數字的組合 (2)其實不太準確,準確的來說數組是一個數據的集合 (3)也就是我們把一些數據放在一個盒子...
# Git ## 基本操作 - 查看版本: `git --version`- 配置賬戶: `git config -global user.na...
<template> </template> import * as echarts from 'echarts';import { re...
1.基本配置 /* webpack.config.js */const path = require("node:path")module.ex...
一、認識TypeScript 1.什么是TS TypeScript 是具有類型語法的 JavaScript,是一門強類型的編程語言 2.帶來的好...
/*** 處理后端返回數據,字符串轉數字*/export const getNumber = (data: any, params: any[]...
# Git ## 基本操作 - 查看版本: `git --version`- 配置賬戶: `git config -global user.na...
1.年月日 export const formatDate = (value: string | number | null | undefin...
1.parseFloat( 參數 ).toFixed(2) `${Math.floor(參數 * 100) / 100}`