| | |
| | | </el-form-item> |
| | | <div v-show="showGrid"> |
| | | <el-form-item label="网格类型"> |
| | | <el-radio-group v-model="grid.type" @change="changeGridType"> |
| | | <el-radio-group v-model="grid.type" @change="changeGridcardtype"> |
| | | <el-radio |
| | | v-for="item in gridTypeList" |
| | | v-for="item in gridcardtypeList" |
| | | :label="item.value" |
| | | :key="item.value" |
| | | > |
| | |
| | | name: "RightDrawer", |
| | | data() { |
| | | return { |
| | | gridTypeList: [ |
| | | gridcardtypeList: [ |
| | | { |
| | | label: "四边网格", |
| | | value: "mesh", |
| | |
| | | changeGrid() { |
| | | this.showGrid ? this.graph.showGrid() : this.graph.hideGrid(); |
| | | }, |
| | | changeGridType(e) { |
| | | changeGridcardtype(e) { |
| | | this.grid.type = e; |
| | | this.changeGrid(); |
| | | }, |