diff --git a/openhis-ui-vue3/src/action/nurseStation/temperatureSheet/drawfn.js b/openhis-ui-vue3/src/action/nurseStation/temperatureSheet/drawfn.js index 67e8bca52..570ec3073 100755 --- a/openhis-ui-vue3/src/action/nurseStation/temperatureSheet/drawfn.js +++ b/openhis-ui-vue3/src/action/nurseStation/temperatureSheet/drawfn.js @@ -1,6 +1,5 @@ -// 数据处理 +// 数据处理 import * as d3 from 'd3'; -import {symbol} from 'd3-shape'; import { degreesOnline, disconnectEvents, @@ -142,7 +141,7 @@ export const iconDrawObj = { }) .append('path') .call((path) => { - const symbolThree = symbol(); + const symbolThree = d3.symbol(); const symbolIndex = 5; symbolThree.type(d3.symbols[symbolIndex]); path.attr('d', symbolThree.size(riangle)).attr('fill', fill).attr('stroke', stroke);