ICode9

精准搜索请尝试: 精确搜索
  • vue命名路由(name)的作用2021-08-06 20:34:57

    命名路由: { path: '/about', name: 'about', component: About } 作用:   1、路由跳转 this.$router.push({ name: 'about' })   2、路由重定向 { path: '/a', redirect: { // path: '/about'

  • Some idea about web3.0(一)2021-08-01 17:33:03

      Web3.0 is the significant progress of Internet. The ETH, DOT, ATOM are the leaders of the Web3.0.    Some people think ETH, DOT is about speculative,but they don't understand it.   Actually,  it is like the investment of google and facebook in 2005

  • 关于Merci2021-08-01 01:03:50

    About 落日拉开黑夜的帷幕,繁星点燃黎明的火光 我是Merci,一只想要变可爱的OIer 来自中山纪念中学 现在高一啦 你可以在这里找到我大部分的笔记 偶尔写写其他 一起加油吧qwq 这里(https://sushitong.cn/)是我的我另外一个博客 搭建在GitHub上+hexo

  • 实现简单版VueRouter嵌套路由2021-07-28 19:57:35

    实现简单版VueRouter嵌套路由 介绍 本文是承接上文《实现简单版VueRouter》的扩大版,在原有基础上加入嵌套路由功能,以用于更深入的学习VueRouter。多有不足之处,请多多交流。 内容拆分 实现VueRouter的嵌套路由功能,主要有两点: 路由匹配时获取代表深度层级的matched数组 router

  • [Vue]-03-vueRouter2021-07-27 08:31:48

    03-vuerouter vueRouter的使用 npm i vue-router -S 重定向,历史模式,动态参数 src/router/index.js import Vue from 'vue' import VueRouter from 'vue-router' import Home from '../views/Home.vue' Vue.use(VueRouter) const routes = [{ path:

  • 2021牛客暑期多校训练营1-Knowledge Test about Match2021-07-18 16:34:08

    题目链接 题意:数组a={0,1,2…n-1},现在给定一个数组b,你可以随意交换b中的元素,定义损失函数f(a,b)= ∑ 1 n \sum_1^n

  • 牛客多校2021 K.Knowledge Test about Match(贪心)2021-07-18 16:32:52

    题目:Knowledge Test about Match 题意:给出n个数bi( 范围是0 ~ (n-1)),这n个数与ai( 依次为0 ~ (n-1))进行匹配,使得 \[min{\sum_{i = 0}^{n-1}\sqrt{|b_{i} -a_{i}|}} \] 解析:此题允许存在一定的误差,所以可以通过贪心 + 暴力匹配的方式进行乱搞来降低误差率,首先我们肯定希望两个数之

  • Vue路由的最基本的使用2021-07-13 10:01:43

    vue-router的基本使用 一、在index.js文件中导入vue和vue-router import Vue from 'vue' //1、导入 import VueRouter from 'vue-router' 二、模块化机制,使用Router Vue.use(VueRouter) 三、创建路由器对象 复制代码 const routes = [ { path: '/', name: 'Home', component

  • Vue 路由 042021-07-11 15:33:20

    Vue 路由 嵌套路由   在路由里面嵌套他的子路由,其关键属性时 children,children 也是路由的一种,它可以像 routes 一样去配置路由数组。每个字路由里面可以嵌套多个组件。子组件又有路由导航和路由容器。 <router-link to="/父路由/子路由"></router-link>   使用 children 实

  • Vue 路由 042021-07-11 15:01:44

    Vue 路由 嵌套路由   在路由里面嵌套他的子路由,其关键属性时 children,children 也是路由的一种,它可以像 routes 一样去配置路由数组。每个字路由里面可以嵌套多个组件。子组件又有路由导航和路由容器。 <router-link to="/父路由/子路由"></router-link>   使用 children 实

  • 前端开发之vue-router路由设置2021-07-06 10:32:02

    1.理解 1.1. 说明 1) 官方提供的用来实现 SPA 的 vue 插件 2) github:https://github.com/vuejs/vue-router 3) 中文文档:http://router.vuejs.org/zh-cn/ 4) 下载:npminstallvue-router–save 1.2. 相关 API 说明 1) VueRouter(): 用于创建路由器的构建函数    newVueRouter({

  • Html.ActionLink在Area中的用法2021-07-05 14:03:06

    在 Area 内进行跳转: @Html.ActionLink(“About”, “About”) 从 Area 一个区域跳转到另一个区域 @Html.ActionLink(“About”, “Index”, “test”, new { area = “web” }, null) 从 Area 跳转到根目录: @Html.ActionLink(“About”, “EditInfo”, “Login”, new { area

  • 新视野大学英语3视听说教程智慧版听力原文 Further practice in listening2021-07-04 17:32:11

    ** 前四单元 1、Access to success 短对话: Conversation 1 W: Hello, Mr. Williams. This is John Barrett’s secretary. I’m calling to cancel his appointment with you at 10 today as he is not feeling well. M: Thanks for calling. It’s quite all right. We’ll

  • Sth about Educational DP Contest2021-07-04 17:00:50

    \(\begin{array}{c|C|c|c} n & Task & Status & Algorithm \\ \hline A & Frog 1 & & \text{简单线性DP} \\ \hline B & Frog 2 & & \\ \hline C & Vacation & & \\ \hline D & Knapsack 1 & &

  • 文件夹下文件批量重命名——数字重命名2021-07-04 13:33:17

    Firefox浏览器-数据保留 1.在卸载时选择保留个人信息此时会在桌面生成一个名为旧的Firefox数据的文件夹。2. 在安装后新的Firefox浏览器后,在导航栏输入about:support,然后选择配置文件夹-打开文件夹。 1.在卸载时选择保留个人信息此时会在桌面生成一个名为旧的Firefox数据

  • Python 全栈系列110 -elasticsearch 从安装到hello2021-07-04 12:30:36

    说明 我发现写的文章和代码太多了,有时候搜索起来很不方便。所以我打算给自己上一个全文搜素。初步搞的化功能尽量简单,时间尽量短。 以下部分2小时内就可以完成。 内容 1 安装 使用docker安装,很快。参考,里面有安装还有查询的常见格式。 # 安装 docker pull elasticsearch #

  • note about Servlet and JSP(一)2021-07-03 13:57:47

    Head First Servlets and JSP笔记(一) 第一章 前言第二章 高层概述:Web应用体系第三章 MVC实战第四章 作为Servlet:请求和响应第五章 作为Web应用:属性和监听者第六章 会话状态:会话管理 第一章 前言 GET和POST GET是一个简单请求,总字符数是有限的,发送的数据会追加在url后

  • CF600 B. Queries about less or equal elements2021-07-02 16:03:47

    题目传送门:https://codeforces.com/problemset/problem/600/B 题目大意: 给定长度为\(n\)的序列\(A\)和长度为\(m\)的序列\(B\),对于\(B_i\)找到\(A_j\leqslant B_i\)的个数 排序,二分 乱搞就完事 /*program from Wolfycz*/ #include<map> #include<cmath> #include<cstdio> #includ

  • 从零开始学VUE之VueRouter(Vue-router基本使用)2021-07-02 11:07:00

    从零开始学VUE之VueRouter(Vue-router基本使用) 使用Vue-router 创建组件 About.vue <template> <div> <h2>this is about!</h2> </div> </template> <script> export default { name: "About" } </script> <s

  • PTE - 百度语言学习 - 口语 看图说话(描述图表)常用词组2021-07-01 12:32:42

    a decreasing trendAarizonaaboutabout the aboveABSabsorbencyabsorbency chartaccommodationAccording toAccording to the chartAccording to the chart we can see thatAccording to the chartsAccording to the mapAccording to the pictureAccording to the planAccordi

  • About React2021-06-30 22:58:37

    初学者 React 文章目录 初学者 React一、基本使用1.JSX2.基本使用语法 二、组件的使用1.函数式组件2.类式组件3.类式组件——state简写3.类式组件——props3.类式组件——props简写4.类式组件——refs5.类式组件——refs回调函数形式与createRef6.受控组件的高阶函数和柯

  • WDK李宏毅学习笔记第十一周02_More about Auto-encoder2021-06-27 20:58:41

    More about Auto-encoder 文章目录 More about Auto-encoder摘要1、More than minimizing reconstruction error1.1 回顾Auto-encoder1.2 What is good embedding?1.3 Typical auto-encoder is a special case 2 Squential Data2.1 Skip thought2.2 Quick thought2.3 Contr

  • 【李宏毅2020 ML/DL】P97-98 More about Meta Learning2021-06-22 11:54:25

    我已经有两年 ML 经历,这系列课主要用来查缺补漏,会记录一些细节的、自己不知道的东西。 本节内容综述 本节课由助教 陈建成 讲解。 本节 Outline 见小细节。 首先是 What is meta learning? 。 接下来是 Why meta learning? 。 How and what to do with meta learning? 是本节课

  • Vue3 Router-基础2021-06-21 19:35:07

    1 安装 npm install vue-router@4   2 基础使用 定义路由 router.js import { createRouter,createWebHashHistory} from 'vue-router' import About from '../components/About.vue' const routes = [ { path: '/about', component: About },

  • 英语4期末考试范围2021-06-14 21:31:49

    英语 选择题 Expressions in use Unit2 Every month, the Community Services Center offers several lectures on health and fitness ________ introducing people to healthier lifestyles. in hopes of Do you know who ________ the idea of having cheesecake for d

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

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

ICode9版权所有