feature_0521
郑皇 5 years ago
parent a144fb70d0
commit 0d997e71d7

1
.gitignore vendored

@ -1 +1,2 @@
/node_modules/ /node_modules/
.DS_Store

@ -236,6 +236,14 @@ export default {
that.$Message.error("至少需要填写一个活动类型!"); that.$Message.error("至少需要填写一个活动类型!");
return; return;
} }
if (
typeof that.formValidate.logo == "undefined" ||
that.formValidate.logo == "" ||
that.formValidate.logo.length <= 0
) {
that.$Message.error("请上传活动封面!");
return;
}
this.$refs["formValidate"].validate((valid) => { this.$refs["formValidate"].validate((valid) => {
if (valid) { if (valid) {
// param = JSON.stringify(param) // param = JSON.stringify(param)

@ -31,8 +31,8 @@ module.exports = {
// proxy: 'http://192.168.1.123:8312/' // proxy: 'http://192.168.1.123:8312/'
// proxy: 'http://192.168.31.177:8312/' // proxy: 'http://192.168.31.177:8312/'
// proxy: 'http://localhost:8312/' // proxy: 'http://localhost:8312/'
proxy: "http://111.231.218.44:8080/", // proxy: "http://111.231.218.44:8080/",
// proxy: "http://localhost:8080/", proxy: "http://localhost:8080/",
// proxy: 'http://jdxdev.vipgz4.idcfengye.com/' // proxy: 'http://jdxdev.vipgz4.idcfengye.com/'
}, },
chainWebpack: (config) => { chainWebpack: (config) => {

Loading…
Cancel
Save