Jelajahi Sumber

基础调整

zkx 4 tahun lalu
induk
melakukan
469d8bca60

+ 2 - 1
package.json

@@ -2,7 +2,8 @@
 	"name": "jp-xpgj",
 	"version": "0.1.0",
 	"private": true,
-	"scripts": {
+	"scripts": {
+		"xxx": "vue-cli-service serve",
 		"serve": "vue-cli-service serve",
 		"build": "vue-cli-service build --mode production",
 		"test": "vue-cli-service build --mode test",

+ 5 - 1
src/projects/business/views-home/User/Login.vue

@@ -124,7 +124,11 @@
 				API_Common.sendMsg({
 					personId: this.personId,
 					telephone: this.subForm.phone,
-				}).then(response => {
+				}).then(response => {
+					
+					if(!response){
+						mui.toast("请勿重复点击,5分钟内验证码还可以继续使用");
+					}
 					//倒计时
 					this.msgTimeInterval();
 					this.isLoading = false;

+ 1 - 1
src/projects/business/views/Master/Home.vue

@@ -258,7 +258,7 @@
 			pageTitle: {
 				// getter
 				get: function() {
-					return this.person_data ? this.person_data.companyName : '小鹏管家';
+					return this.person_data ? this.person_data.companyName : '湖北新生源生物工程有限公司';
 				},
 				// setter
 				set: function(newValue) {

+ 2 - 1
vue.config.js

@@ -9,8 +9,9 @@ const Timestamp = new Date().getTime();
 module.exports = {
 	pages: conf.pages,
 	publicPath: './',
-	outputDir: conf.outputDir + '_' + process.env.OUT_PUT_NAME,
+	outputDir: conf.outputDir + '_'+Timestamp,
 	assetsDir: 'static',
+	lintOnSave: false,
 	lintOnSave: false,
 	devServer: conf.devServer,
 	//不输出map