mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-31 23:10:45 +00:00
feat: 数据添加;
This commit is contained in:
parent
8f5055159b
commit
6b16e24484
@ -260,17 +260,19 @@ export default {
|
||||
this.tableField = res.data.tableField.length ? res.data.tableField : [];
|
||||
this.$emit('storageData', res.data.makePath);
|
||||
this.loading = false;
|
||||
this.tableField.push({
|
||||
field: '',
|
||||
file_type: '',
|
||||
default: '',
|
||||
comment: '',
|
||||
required: false,
|
||||
is_table: true,
|
||||
table_name: '',
|
||||
limit: '',
|
||||
from_type: '0',
|
||||
});
|
||||
if (!this.tableField.length) {
|
||||
this.tableField.push({
|
||||
field: '',
|
||||
file_type: '',
|
||||
default: '',
|
||||
comment: '',
|
||||
required: false,
|
||||
is_table: true,
|
||||
table_name: '',
|
||||
limit: '',
|
||||
from_type: '0',
|
||||
});
|
||||
}
|
||||
})
|
||||
.catch((err) => {
|
||||
this.$Message.warning(err.msg);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user