间距
This commit is contained in:
@ -50,7 +50,7 @@ class BatchModel extends Base {
|
||||
let tools = new Tools(sdk)
|
||||
// BatchModel.computeDis(this)
|
||||
// if (this.options.positions.length > 0 || this.options.positions.lng) {
|
||||
if (this.options.spacing < 0 || options.spacing * 1 === 0) {
|
||||
if (options.type != '点' && (this.options.spacing < 0 || options.spacing * 1 === 0)) {
|
||||
tools.message({ type: 'warning', text: '请输入正确的间距!' })
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user