发布bug修复

This commit is contained in:
xiao-fajia 2024-07-30 09:25:39 +08:00
parent 686e22741b
commit a9840600c0
5 changed files with 7 additions and 10 deletions

View File

@ -81,10 +81,8 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button-group>
<el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" @click="resetQuery">重置刷新</el-button>
</el-button-group>
</el-form-item> </el-form-item>
</div> </div>
</el-form> </el-form>

View File

@ -68,15 +68,13 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button-group>
<el-button <el-button
type="primary" type="primary"
icon="el-icon-search" icon="el-icon-search"
@click="handleQuery">搜索</el-button> @click="handleQuery">搜索</el-button>
<el-button <el-button
icon="el-icon-refresh" icon="el-icon-refresh"
@click="resetQuery">重置</el-button> @click="resetQuery">重置刷新</el-button>
</el-button-group>
</el-form-item> </el-form-item>
</el-form> </el-form>
</el-col> </el-col>

View File

@ -211,7 +211,8 @@ export default {
summary: '', summary: '',
status: '0', status: '0',
isAccessory: '0', isAccessory: '0',
accessoryUrl: [] accessoryUrl: [],
id: ""
} }
}, },
handleCatalogChange() { handleCatalogChange() {
@ -252,7 +253,7 @@ export default {
if (valid) { if (valid) {
this.$modal.loading("正在" + (this.form.status !== "1" ? "保存" : "发布") + "内容,请稍候..."); this.$modal.loading("正在" + (this.form.status !== "1" ? "保存" : "发布") + "内容,请稍候...");
// ifelse // ifelse
if (this.form.id !== null) { if (this.form.id !== "") {
this.changeUrl() this.changeUrl()
updateContent(this.form).then(res => { updateContent(this.form).then(res => {
if (res.code === 200) { if (res.code === 200) {

View File

@ -47,7 +47,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置刷新</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>

View File

@ -95,7 +95,7 @@
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button> <el-button type="primary" icon="el-icon-search" size="mini" @click="handleQuery">搜索</el-button>
<el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置</el-button> <el-button icon="el-icon-refresh" size="mini" @click="resetQuery">重置刷新</el-button>
</el-form-item> </el-form-item>
</el-form> </el-form>