Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
weiit-liri-pc-page-div
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
张伟豪
weiit-liri-pc-page-div
Commits
2d11b02d
Commit
2d11b02d
authored
Nov 05, 2025
by
Hao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
ce5391b1
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
2 additions
and
48 deletions
+2
-48
10.md
+0
-12
20.md
+0
-12
TEXT.md
+0
-22
vue.config.js
+2
-2
No files found.
10.md
deleted
100644 → 0
View file @
ce5391b1
1.
常用的浏览器内核有哪些
webkit(苹果,早期的 Chrome,早期的 Opera),Blink(谷歌,欧朋,新版 Edge),Gecko(火狐浏览器),Trident,EdgeHTML 2.行类元素和块级元素的区别
行类元素:不独占一行,宽度自适应内容宽度,只能包含行类元素或文本节点
块级元素:独占一行,宽度默认 100%,可以包含行类元素或块级元素 3.清除浮动的方法有哪些
清除浮动的方法有以下几种: 1.使用 clearfix 类名 2.使用伪元素清除浮动 3.使用 overflow 属性清除浮动 4.使用 display 属性清除浮动 5.使用 float 属性清除浮动 4.如何理解 javascript 中 this 1.在全局执行环境中,this 指向 window 对象 2.在函数中,this 指向调用该函数的当前对象 3.在对象的方法中,this 指向该对象的实例 4.在构造函数中,this 指向新创建的对象实例 4.在箭头函数中,this 指向定义时的上下文环境 5.在事件处理函数中,this 指向触发事件的 DOM 元素 6.在 bind 方法中,this 指向 bind 方法的第一个参数 7.在 call 和 apply 方法中,this 指向 call 和 apply 方法的第一个参数 8.在 Promise 的回调函数中,this 指向 undefined 9.在 Generator 函数中,this 指向 Generator 函数的实例 10.在 async 函数中,this 指向 async 函数的实例 5.原始类型和引用类型有什么区别
原始类型:number,string,boolean,null,undefined,symbol,bigint
引用类型:object,function,Array,Date,RegExp,Error,Map,Set,WeakMap,WeakSet 6.如何深拷贝一个对象 7.数组去重的方法有哪些 8.同步和异步的区别
9.
get 和 post 请求的区别 10.跨域请求有哪些方案
1.
jsonp (只支持 get 请求)
2.
cors (跨域资源共享) 3.反向代理 (服务器端配置)
4.
websocket (全双工通信协议)
5.
postMessage (html5 新特性)
20.md
deleted
100644 → 0
View file @
ce5391b1
1.
常用的浏览器内核有哪些
webkit , blink ,gecko,trident 2.行类元素和块级元素的区别
3.
清除浮动的方法有哪些
4.
如何理解 javascript 中 this
5.
原始类型和引用类型有什么区别
6.
如何深拷贝一个对象 7.数组去重的方法有哪些 8.同步和异步的区别
9.
get 和 post 请求的区别 10.跨域请求有哪些方案
11.
new 的过程做了哪些操作
TEXT.md
deleted
100644 → 0
View file @
ce5391b1
基本数据类型
string
Number
Boolean
undefined
null
Symbol
BigInt
引用数据类型
Object
Array
Function
Date
RegExp
Set
Map
基本数据类型和引用数据类型的区别
基本数据类型存储在栈内存中,引用数据类型存储在堆内存中,栈内存中存储的是引用数据类型的地址
基本数据类型和引用数据类型的赋值
vue.config.js
View file @
2d11b02d
...
@@ -12,7 +12,7 @@ module.exports = {
...
@@ -12,7 +12,7 @@ module.exports = {
template
:
"public/index.html"
,
template
:
"public/index.html"
,
},
},
// 管理入口
// 管理入口
appVue
:
{
index
:
{
entry
:
"test/shopHome.js"
,
entry
:
"test/shopHome.js"
,
template
:
"public/index.html"
,
template
:
"public/index.html"
,
},
},
...
@@ -28,7 +28,7 @@ module.exports = {
...
@@ -28,7 +28,7 @@ module.exports = {
},
},
},
},
devServer
:
{
devServer
:
{
headers
:{
headers
:
{
"Access-Control-Allow-Origin"
:
"*"
,
"Access-Control-Allow-Origin"
:
"*"
,
},
},
after
:
(
app
)
=>
{
after
:
(
app
)
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment