优化问题
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
<el-input v-model="form.remark" placeholder="请输入备注" style="width: 180px;"></el-input>
|
<el-input v-model="form.remark" placeholder="请输入备注" style="width: 180px;"></el-input>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
<el-form-item>
|
<el-form-item>
|
||||||
<el-button @click="dialogVisible = false">取 消</el-button>
|
<el-button @click="dialogVisible = false; form.remark = ''">取 消</el-button>
|
||||||
<el-button type="primary" :loading="loading" @click="onSubmitHandle">确 定</el-button>
|
<el-button type="primary" :loading="loading" @click="onSubmitHandle">确 定</el-button>
|
||||||
</el-form-item>
|
</el-form-item>
|
||||||
</el-form>
|
</el-form>
|
||||||
@@ -136,6 +136,7 @@ export default {
|
|||||||
message: `添加成功`,
|
message: `添加成功`,
|
||||||
type: "success"
|
type: "success"
|
||||||
});
|
});
|
||||||
|
this.form.remark = ''
|
||||||
this.getTableData();
|
this.getTableData();
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
this.loading = false;
|
this.loading = false;
|
||||||
|
|||||||
Reference in New Issue
Block a user