@@ -209,6 +209,15 @@ export const defaultAttrs = [
attrLength: 16,
precision: 0,
format: ''
+ }, {
+ id: uuid(),
+ name: '地点',
+ code: 'diDian',
+ fieldName: 'di_dian_',
+ dataType: 'varchar',
+ attrLength: 128,
+ precision: 0,
+ format: ''
}, {
id: uuid(),
name: '编制人',
@@ -344,6 +344,10 @@ export default {
}
this.loading = false
}).catch(() => {
+ // 请求出错清除轮询
+ if (type === 'wait') {
+ clearInterval(this.timer)
+ }
})
},