首先安装axios npm install axios --save 在src下新建utils文件夹 再新建request.js文件 //utils->request.js import axios from 'axios' const requests = axios.create({ baseU ...
分类:
移动开发 时间:
2021-06-18 20:13:16
阅读次数:
0
直接引入就好了~ <script src="https://unpkg.com/vconsole/dist/vconsole.min.js"></script> <script> // VConsole 默认会挂载到 `window.VConsole` 上 var vConsole = new wi ...
分类:
移动开发 时间:
2021-06-18 20:12:57
阅读次数:
0
unity3d给某个对象添加材质 public void SetMaterial() { GameObject indexGameObject=list_topIfcSlabs[5]; Renderer[] renders = indexGameObject.GetComponentsInChild ...
分类:
编程语言 时间:
2021-06-18 20:10:10
阅读次数:
0
Vue.js 允许你自定义过滤器,可被用于一些常见的文本格式化。 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, ini ...
分类:
Web程序 时间:
2021-06-18 20:08:22
阅读次数:
0
一、问题描述 容器中修改了/etc/hosts文件。手动测试已经生效。但是容器中的项目却还是访问的公网。 二、问题解决 修改dockerfile。在dockerfile中添加/etc/nsswitch.conf文件 RUN [ ! -e /etc/nsswitch.conf ] && echo 'h ...
分类:
其他好文 时间:
2021-06-18 20:07:20
阅读次数:
0
<script src="~/Scripts/jquery-3.4.1.js"></script> <script src="~/Scripts/jquery.validate.js"></script> <form class="cmxform" id="commentForm" method=" ...
分类:
Web程序 时间:
2021-06-18 20:03:22
阅读次数:
0
#更新yum软件管理器 yum -y update #安装docker yum install -y docker 2.配置docker 加速器 curl -sSL https://get.daocloud.io/daotools/set_mirror.sh | sh -s http://f1361 ...
分类:
其他好文 时间:
2021-06-18 20:01:26
阅读次数:
0
<div :style="{ color: activeColor, fontSize: fontSize + 'px' }"></div> data () { return { //初始样式 activeColor:'red', fontSize :30, }; }, //改变样式 this.ac ...
分类:
其他好文 时间:
2021-06-18 19:58:55
阅读次数:
0
一.安装i18n npm install vue-i18n --save 二.新建文件夹locales和pages 文件夹平行,里面创建 indedx.js 公共使用 en.js 英文 zh.js 中文 三.index.js 里内容 四 en.js 五 zh.js 六 main.js 引入 七使用 ...
分类:
移动开发 时间:
2021-06-18 19:58:18
阅读次数:
0
用ffmpeg命令从视频文件中提取音频 命令:ffmpeg -i D:\AI\bili_data\test.mp4 -vn -y -acodec copy D:\AI\bili_data\output.aac # 从视频中提取音频 def video_to_audio(video_file,audi ...
分类:
编程语言 时间:
2021-06-18 19:49:50
阅读次数:
0