sea-chart 1.1.112-oad2.21 → 1.1.112-oad2.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -10,7 +10,7 @@ class ChartUtils {}
10
10
  ChartUtils.calculateChart = async (chart, value, callback) => {
11
11
  if (!BaseUtils.isValidExistChart(value.tables, chart)) {
12
12
  const roleId = context.getSetting('roleId');
13
- const tip_message = roleId ? 'Please_complete_the_chart_configuration_first' : 'Please_complete_the_chart_configuration_first';
13
+ const tip_message = !roleId ? 'Please_complete_the_chart_configuration_first' : 'Please_complete_the_chart_configuration_first';
14
14
  return callback && callback('', tip_message, null);
15
15
  }
16
16
  const id = uniqueId();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sea-chart",
3
- "version": "1.1.112oad2.21",
3
+ "version": "1.1.112oad2.24",
4
4
  "main": "./dist/index.js",
5
5
  "dependencies": {
6
6
  "@antv/data-set": "0.11.8",