vue2-client 1.9.156 → 1.9.158

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue2-client",
3
- "version": "1.9.156",
3
+ "version": "1.9.158",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -159,7 +159,8 @@ export default {
159
159
  <template>
160
160
  <!-- 单日选择器 -->
161
161
  <a-date-picker
162
- v-if="['datePicker','rangePicker'].includes(attr.type) && (attr?.queryType !== 'BETWEEN' || mode !=='查询')"
162
+ v-if="(['datePicker'].includes(attr.type) && (attr?.queryType !== 'BETWEEN' || mode !=='查询'))
163
+ || (['rangePicker'].includes(attr.type) && mode !== '查询')"
163
164
  v-model="localValue"
164
165
  :disabled="disabled || readOnly"
165
166
  style="width: 100%;"
@@ -1154,6 +1154,9 @@ export default {
1154
1154
  async retrieveSummaryData () {
1155
1155
  if (this.requestParameters.querySummary) {
1156
1156
  querySummary(Object.assign(this.requestParameters, { userId: this.currUser?.id }), this.serviceName, this.env === 'dev').then(res => {
1157
+ if (this.compatible === 'V3') {
1158
+ res = res.data
1159
+ }
1157
1160
  if (res.length > 0) {
1158
1161
  this.summaryData.forEach(item => {
1159
1162
  res.forEach(summary => {