ICode9

精准搜索请尝试: 精确搜索
  • Node.js之mysql模块开启执行多个SQL命令2022-09-16 20:02:17

    今天分享的内容是模块化思维 ,在项目中需要分类模块化对项目数据进行归类    pool.js是mysql的连接池 routes文件夹里放路由器目录,里面可以放项目路由的小文件夹 app.js是web服务器   1.在app.js下使用express创建web服务器,引入关于汉唐路由器(./routes/about.js),挂载路由器,添

  • About Python3 -- 22022-09-15 18:02:56

    class 多态 <1> class Animal(object): def eat(self): print("动物会吃") class Cat(Animal): def eat(self): print("猫吃鱼") class Dog(Animal): def eat(self): print("狗吃骨头") class Person(obj

  • 个人简介 About Me2022-09-10 05:00:09

    澳门科技大学计算机系大一新生 一个曾经两次联赛失败无奈退役的OIer;一个因为高考失常只能花费昂贵学费走上留学道路的Five。 编写博客只为分享生活、学习上的经验与困惑,希望能给他人和自己带来帮助。 一起为了未来而奋斗吧!

  • React 中router v6 与 v5 中嵌套路由的区别2022-09-09 18:01:14

      v5中的嵌套路由: 主页面v5中使用{this.props.children}来接收子页面 import React, { Component } from 'react'; export default class About extends Component { render() { return (<h1> 欢迎,这里是About {this.props.children} </h1>) }

  • nginx 四层访问控制2022-08-29 18:32:36

    nginx 四层访问控制 访问控制基于ngx_http_access_module实现,可以通过匹配客户端IP地址进行限制 location /about { alias /usr/share/nginx/html/about/index.html; index index.html; deny 192.168.1.1; allow 192.168.50.0/24; allow 10.1.1.0/16; deny all;

  • L7U2-Hopes and dreams - Discussing life choices2022-08-28 15:01:11

    2022.08.28 Sunday 16:40 - 17:30 In this lesson you will learn phrases and grammar structures to express your hopes and thoughts about future.By the end of this lesson,you will be able to discuss your long-term goals in career and life. A Key vocabulary. U

  • 【面试题】Vue中的$router 和 $route的区别2022-08-28 10:01:26

    Vue中的$router 和 $route的区别 点击视频讲解更加详细 this.$route:当前激活的路由的信息对象。每个对象都是局部的,可以获取当前路由的 path, name, params, query 等属性。 this.$router:全局的 router 实例。通过 vue 根实例中注入 router 实例,然后再注入到每个 子组件,从而让整

  • 编程式路由2022-08-25 16:06:15

    import { useRouter } from 'vue-router' const router = useRouter() router.push({   path: "/about",   query: {     name: "why",     age: 18   } }) 如何得到query呢 ? 模板中 : <h2>About: {{ $route.query }}</h2>  

  • vue学习之------vue-router【路由嵌套】2022-08-17 23:04:50

    1、声明子路由链接和子路由占位符 <template> <h2>>>about组件</h2> <!-- 子路由链接 --> <router-link to="/about/tab1">选项一</router-link>  <router-link to="/about/tab2">选项二</router-link> <hr />

  • [daily_words]About the Street Space2022-07-28 00:03:17

    过去的街道虽然并不完美,但是能教给我们很多东西,也不是完全没有东西值得借鉴。 H市街道因其历史背景、气候条件、开发年代等原因,整体给失序感,倒也不是一种缺陷,相反倒是确有其特色。这里大部分街道给人并非历史的陈旧感,而是老旧感,年久未饰,样式古板,立面也没有什么让抓人眼球的细节,说

  • [prerender-spa-plugin]--微型Vue项目的SEO利器2022-07-10 23:00:23

    最近和同事写了个公司的PC官网,综合个人开发习惯、周期以及需求,我最终选择用vue-cli来快捷开发(因为之前已经写好了基于vue-cli的二次定制脚手架)。上线之后,老大说了一句,还是改回静态页吧,SPA的SEO太差啦。这... 本文会涉及到的内容-- 使用prerender之前的境况介绍 使用prerender

  • vue-处理重复跳转报错问题2022-07-03 16:34:16

    一、components About.vue <template> <h2>我是About的内容</h2> </template> <script> export default{ name:'About' } <script/> Home.vue <template> <h2

  • 查漏补缺——说说后代选择器和子选择器2022-06-28 11:38:42

    问题 如题所示 答案 首先,什么是选择器呢?我的理解是CSS选择器可以选定某类元素进行样式控制。 css选择器是什么?css选择器有哪些类型? 所以后代选择器和子选择器也是选择某类元素进行样式控制的。 看它们的名字后代选择器和子选择器应该属于复合选择器。复合选择器是由基本选择器复合

  • NoSQL 简介 & mongoDB —— 转发2022-06-21 08:00:25

    原文:What Is NoSQL? NoSQL Databases Explained | MongoDB    NoSQL databases (aka "not only SQL") are non-tabular databases and store data differently than relational tables.    NoSQL databases come in a variety of types based on their data model. T

  • Vue 访问路径开启history 模式2022-06-19 21:33:29

      router  里面的index.js配置里面 import Vue from 'vue' import Router from 'vue-router' Vue.use(Router) const routes = [ { path: '/about', name: 'about', meta: { title: '关于',

  • 请求传输的过程&线程的介绍2022-06-18 03:31:20

    1. 请求的运作过程 2. 前端和后端的定义 前端: font-end is about everything that happens in the web browser. It is about designing and building the final website that's gonna be visible to the user, and therefore, the name font-end. 后端是运作在服务器上的程序,用

  • Is LaMDA Sentient? — an Interview2022-06-13 13:01:47

    Is LaMDA Sentient? — an Interview 谷歌AI聊天记录让网友San值狂掉:研究员走火入魔认为它已具备人格,被罚带薪休假 What follows is the “interview” I and a collaborator at Google conducted with LaMDA. Due to technical limitations the interview was conducted ov

  • About SXZ++2022-06-06 14:34:07

    Welcome to SXZ++ V1.0.0 本开源项目旨在让被迫留校的锡监学子能有应该更加快乐的平板使用体验,同时帮助中育科教寻找并修复BUG View on Github Sxz Nav SxzNav by LoliconMe SxzNav by litluo Future Project SXZ IDE SXZ Cloud Computer V1.0.1 SXZ EpudReader SXZ MediaPlaye

  • About me2022-06-05 13:32:10

    我来自 GD,现在(2022-6)初二。 常用 id 有:藤萝月、草木风、purplevine(取自陈春成《裁云记》中的对子),Missa(取自陈春成《红楼梦弥撒》后记),zag(左旋,与我名字拼写后两字母相同),sz037(szoj 里的名字,怀念 szoj) 能看出来,陈春成是我最喜欢的作家(虽然挺冷门的啊)。 乱七八糟的账号们: 洛谷:Missa AT:z

  • 47.vue-路由的设置2022-06-04 02:33:40

    1.说明 vue-router@4 版本支持VUE3版本,不支持VUE2,所以VUE2需要安装vue-router@3版本 2.打开项目终端,输入:npm i vue-route@3    3.引入,应用    4.创建router文件夹,里面再创建index.js文件 index.js:     //该文件专门用于创建整个应用的路由器 import VueRouter from "vu

  • writing about graphs2022-05-23 12:35:46

    The bar chart illustrates the numbers of men and women attending various evening courses at an adult education center in the year 2009. And the pie chart shows the age distribution of the course participants. Overall, it can be seen that the most popular

  • vue-router 基本使用2022-05-11 16:33:35

     路由,其实就是指向的意思,当我点击页面上的home按钮时,页面中就要显示home的内容,如果点击页面上的about 按钮,页面中就要显示about 的内容。Home按钮  => home 内容, about按钮 => about 内容,也可以说是一种映射. 所以在页面上有两个部分,一个是点击部分,一个是点击之后,显示内容的部分

  • 关于/About2022-05-10 05:31:56

    应当从未来的日子夺取欢乐。-- В.В.马雅可夫斯基《致谢尔盖·叶赛宁》 ZZN而已 Just ZZN 庚辰年春 Spring 2000 zhinuozhao@foxmail.com 统计/数据分析/机器学习/优化问题/R语言/Python Statistics/Data analysis/Machine learning/Optimization problem/R/Python 名义最喜欢清

  • vue路由的基本使用2022-05-09 15:34:38

    1.安装路由 npm i vue-router    2.配置路由文件 //引入VueRouter import VueRouter from 'vue-router' //引入Luyou 组件 import About from '../components/About' import Home from '../components/Home' //创建并暴露router export default new VueRouter({

  • vue3中的路由2022-05-04 23:01:43

    前端路由:在架构一个网络时,路由器和交换机是非常重要的,事实上,路由器主要维护的是一个映射表,映射表会决定数据的流向。 URL的hash 前端路由是通过监听URL的改变进行与内容的映射 url的hash也就是锚点(#),本质上是改变window.location的herf属性,我们可以通过直接赋值location.hash来改变

专注分享技术,共同学习,共同进步。侵权联系[81616952@qq.com]

Copyright (C)ICode9.com, All Rights Reserved.

ICode9版权所有