Commit f36e6aaf authored by pengyunqian's avatar pengyunqian

Merge branch 'feature/activity' of...

Merge branch 'feature/activity' of https://git.yidian-inc.com:8021/bp/op-web-service into feature/activity
parents e773c847 8d1ed3eb
<template>
<div class="infoEditing">
<el-form ref="infoEditForm" :model="infoEditForm" :rules="rules" label-width="80px">
<el-form
ref="infoEditForm"
:model="infoEditForm"
:rules="rules"
label-width="80px"
>
<el-form-item label="标题:">
<el-input v-model="infoEditForm.title" maxlength="30"></el-input>
</el-form-item>
......@@ -65,6 +70,11 @@ export default {
};
},
methods: {
validate(callback) {
this.$refs.form.validate((valid) => {
callback(valid);
});
},
// 图片删除
handleRemove(file) {
console.log(file);
......
......@@ -58,7 +58,6 @@ export default {
// 下一步
next() {
console.log(this.$refs.infoEdit.infoEditForm);
if (this.active == "1") {
if (this.$refs.infoEdit.infoEditForm.title == "") {
ElMessage.error("请填写商品标题");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment