判断对象是否存在
This commit is contained in:
parent
f44f60d038
commit
6e04641016
|
@ -136,8 +136,8 @@ export default defineComponent({
|
|||
}
|
||||
const use_server_config = () => {
|
||||
let server_conf = JSON.parse($store.state.fusion_configuration).options
|
||||
model[0] = Number(server_conf.blending_grids_row)
|
||||
model[1] = Number(server_conf.blending_grids_column)
|
||||
model[0] = server_conf.blending_grids_row ? Number(server_conf.blending_grids_row) : 20;
|
||||
model[1] = server_conf.blending_grids_column ? Number(server_conf.blending_grids_column) : 40;
|
||||
color[0] = server_conf.blending_grids_line_color
|
||||
|
||||
RowsColumns[0] = server_conf.blending_grids_show_row === "false" ? false : true
|
||||
|
|
Loading…
Reference in New Issue