丁同亚的博客
夺朱非正色
09 2021 档案
vue配置代理跨域
摘要:/vue.config.js module.exports = { devServer: { proxy: { //配置跨域 "/api": { target: "http://127.0.0.1:7001", ws: true, changOrigin: true, //允许跨域 // pathR 阅读全文
posted @ 2021-09-30 10:56 丁同亚的博客 阅读(86) 评论(0) 推荐(0)
使用css让盒子在视野消失!n种方法!
摘要:<!DOCTYPE html> <html lang="en"> <head> <style> body { width: 100vw; height: 100vh; margin: 0; box-sizing: border-box; } .container { width: 400px; ba 阅读全文
posted @ 2021-09-15 10:19 丁同亚的博客 阅读(187) 评论(0) 推荐(0)