临时文件代码存放地址
Vue.mixin({ beforeRouteLeave(to, from, next) { if (!to.path.startsWith(from.path)) { this.$destroy(); } next(); } });
浏览器兼容性测试网站
http://caniuse.com/
https://github.com/JerryYuanJ
https://www.itcnz.top/ nuxt.js 部署
https://caniuse.com/#search=getUserMedia
https://developer.mozilla.org/zh-CN/docs/Web/API/MediaDevices/getUserMedia
HTML5 录音的踩坑之旅
https://juejin.im/entry/5a3f6dc3f265da433562f944
https://www.zhihu.com/search?type=content&q=%E5%89%8D%E7%AB%AF%E7%A7%BB%E5%8A%A8%E7%AB%AF%E6%9C%89%E4%BB%80%E4%B9%88%E8%BE%83%E5%A5%BD%E7%9A%84%E5%BD%95%E9%9F%B3%E5%8F%8A%E4%B8%8A%E4%BC%A0%E7%9A%84%E6%96%B9%E6%A1%88%EF%BC%9F
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>cn.com.epicc.ecommerce</groupId> <artifactId>micro-server-wcar</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>pom</packaging> <!-- 集成对应版本Spring Boot ,如果切换Spring Boot 版本,对 Spring Cloud 版本做相应更--> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>1.5.6.RELEASE</version> </parent> <!-- 设定除中央仓外的其他仓库,按设定顺序进行查 --> <repositories> <repository> <id>aliyun</id> <name>aliyun Nexus Repository</name> <url>http://maven.aliyun.com/nexus/content/repositories/central/</url> </repository> <repository> <id>central</id> <name>Central Repository</name> <url>http://repo.maven.apache.org/maven2</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>spy</id> <name>Spy Repository</name> <layout>default</layout> <url>http://files.couchbase.com/maven2/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>JBOSS</id> <name>JBoss Repository</name> <url>https://repository.jboss.org/nexus/content/groups/public/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>springside</id> <name>SpringSide Additional Repository</name> <url>http://springside.googlecode.com/svn/repository</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>java.net</id> <name>Java.net Repository</name> <url>http://download.java.net/maven/2/</url> <snapshots> <enabled>false</enabled> </snapshots> </repository> <repository> <id>codehaus-snapshots</id> <name>Maven Codehaus snapshot repository</name> <url>http://snapshots.repository.codehaus.org/</url> </repository> </repositories> <modules> <module>util</module> <module>model</module> <module>business</module> <module>wcar</module> <module>cache</module> <module>integrateserver</module> </modules> <properties> <!-- 防止compile中文乱码 --> <argLine>-Dfile.encoding=UTF-8</argLine> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <mybatis.boot.version>1.2.0</mybatis.boot.version> <mybatis.mapper.version>1.1.0</mybatis.mapper.version> <mybatis.pagehelper.version>1.1.0</mybatis.pagehelper.version> <jdk.version>1.7</jdk.version> </properties> <dependencies> <!-- jstl标签 --> <dependency> <groupId>javax.servlet</groupId> <artifactId>jstl</artifactId> </dependency> <!--mybatis --> <dependency> <groupId>org.mybatis.spring.boot</groupId> <artifactId>mybatis-spring-boot-starter</artifactId> <version>${mybatis.boot.version}</version> <exclusions> <exclusion> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> </exclusion> </exclusions> </dependency> <!--mapper --> <dependency> <groupId>tk.mybatis</groupId> <artifactId>mapper-spring-boot-starter</artifactId> <version>${mybatis.mapper.version}</version> </dependency> <!--pagehelper --> <dependency> <groupId>com.github.pagehelper</groupId> <artifactId>pagehelper-spring-boot-starter</artifactId> <version>${mybatis.pagehelper.version}</version> </dependency> <!-- excel start --> <dependency> <groupId>org.apache.poi</groupId> <artifactId>poi</artifactId> <version>3.8</version> </dependency> <dependency> <groupId>jxl</groupId> <artifactId>jxl</artifactId> <version>1.0</version> </dependency> <!-- excel end --> <!-- tika 文件解析(无乱码)start --> <dependency> <groupId>org.apache.tika</groupId> <artifactId>tika-parsers</artifactId> <version>1.1</version> </dependency> <dependency> <groupId>org.apache.tika</groupId> <artifactId>tika-core</artifactId> <version>0.7</version> </dependency> <!-- tika 文件解析(无乱码)end --> <!-- httpclient start --> <dependency> <groupId>commons-httpclient</groupId> <artifactId>commons-httpclient</artifactId> <version>3.1</version> </dependency> <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> </dependency> <!-- httpclient end --> </dependencies> <!-- 集成对应版本Spring Cloud ,如果切换Spring Boot 版本,该Cloud 版本�?��对应更改 --> <dependencyManagement> <dependencies> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-dependencies</artifactId> <version>Dalston.SR2</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <!-- 插件配置 --> <build> <plugins> <!-- Run the JUnit unit tests in an isolated classloader --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skipTests>true</skipTests> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <inherited>true</inherited> <configuration> <source>${jdk.version}</source> <target>${jdk.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> <configuration> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> </plugins> <!--打包导入各种配置文件 --> <resources> <resource> <directory>src/main/resources</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> <include>**/*.tld</include> <include>**/*.jsp</include> <include>**/*.ftl</include> <include>**/*.html</include> </includes> <filtering>true</filtering> </resource> <resource> <directory>src/main/java</directory> <includes> <include>**/*.properties</include> <include>**/*.xml</include> <include>**/*.tld</include> <include>**/*.ftl</include> <include>**/*.html</include> </includes> <filtering>true</filtering> </resource> </resources> </build> </project>