vue微博回调空页面 1.vue微博回调空页面 注:微博回调空页面为: http://127.0.0.1:8888/oauth/callback/ 1.1 页面路径 components\oauth.vue <template><div><p>跳转中....</p></div></template> ...
分类:
其他好文 时间:
2020-11-06 02:43:25
阅读次数:
23
<template> <router-view v-if="isRouterAlive"/> </template> <script> export default { data () { return { isRouterAlive: true } }, methods: { reload () ...
分类:
其他好文 时间:
2020-11-06 02:18:16
阅读次数:
21
vue微博回调空页面 注:微博回调空页面为: 1.1 页面路径 components\oauth.vue <template> <div> <div v-show='visiable'> 绑定用户 用户名: <input type="text" v-model="username" @blur="c ...
分类:
其他好文 时间:
2020-11-06 02:13:11
阅读次数:
19
#include <iostream> #include <vector> #include <stack> #include <queue> template <class T> typedef struct node { node* left; node* right; T val; std:: ...
分类:
其他好文 时间:
2020-11-06 01:25:12
阅读次数:
16
题意简述 有一个$k$维空间,每维的跨度为$L$,即每一维的坐标只能是$0,1, \cdots ,L-1$。每一步你可以移动到任意一个曼哈顿距离到自己小于等于$d$的任意一个合法坐标。求一条空间中合法的哈密顿路。即,找一条经过且仅经过空间中每一个点一次的路径。 子任务编号 分值 k= L= d= 1 ...
分类:
其他好文 时间:
2020-11-06 01:11:40
阅读次数:
12
[default] callback_whitelist = profile_tasks # The best way I’ve found to time the execution of Ansible playbooks is by enabling the profile_tasks cal ...
分类:
其他好文 时间:
2020-11-04 19:01:00
阅读次数:
20
1、子组件暴露插槽的写法 <template> <div class="hello"> <h1>子组件</h1> <h1>↓↓↓以下是默认插槽内容↓↓↓</h1> <slot :scope="sexEn1"></slot> <h1>↑↑↑以上是插槽内容↑↑↑</h1> <br /> <div>{{s ...
分类:
其他好文 时间:
2020-11-04 18:41:55
阅读次数:
20
setup方法 Created: Oct 13, 2020 1:52 PM 功能: composition api composition api composition api为vue应用提供更好的逻辑复用和代码组织。 <template> <div> <p>counter: {{counter} ...
分类:
其他好文 时间:
2020-11-02 10:31:55
阅读次数:
55
##vue封装tab切换 预览: ###第一种 通过父传子标题,子传父事件 子组件 <template> <div class='app'> <div class="tabs_header"> <div :class="['tabs_header_items',currentIndex==i?'ac ...
分类:
其他好文 时间:
2020-11-01 22:27:40
阅读次数:
31
一、手动分页 django从ciew向template传递HTML字符串的时候,django默认不渲染此HTML,为了防止这串字符串里有恶意攻击的代码,所以要使用mark_safe函数 from django.utils.safestring import mark_safe def view(re ...
分类:
其他好文 时间:
2020-11-01 21:26:57
阅读次数:
23