vue2-client 1.20.46 → 1.20.49

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.20.46",
3
+ "version": "1.20.49",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -1879,12 +1879,6 @@ export default {
1879
1879
  color: @primary-color;
1880
1880
  }
1881
1881
 
1882
- .innerTable {
1883
- :deep(.ant-form-item) {
1884
- margin: 0;
1885
- }
1886
- }
1887
-
1888
1882
  .hiddenFunctionalArea {
1889
1883
  display: none;
1890
1884
  }
@@ -758,6 +758,18 @@ export default {
758
758
  :deep(.ant-pagination > li) {
759
759
  white-space: nowrap;
760
760
  }
761
+ .innerTable {
762
+ // 行编辑表格输入项样式
763
+ :deep(.ant-form-item) {
764
+ margin: 0;
765
+ .ant-form-item-control-wrapper {
766
+ width: 100%;
767
+ }
768
+ .ant-select {
769
+ width: 100%;
770
+ }
771
+ }
772
+ }
761
773
  </style>
762
774
  <style>
763
775
  /* 多操作下拉菜单边框与阴影 */
@@ -332,20 +332,15 @@ export default {
332
332
  this.scrollY = this.tableHeight
333
333
  })
334
334
 
335
- resolve(result) // 成功 resolve
335
+ resolve(result)
336
336
  })
337
337
  .catch(error => {
338
338
  console.error('数据加载失败', error)
339
- reject(error) // 失败 reject
339
+ reject(error)
340
340
  })
341
341
  .finally(() => {
342
- this.loading = false // 无论成功或失败,最终关闭 loading
342
+ this.loading = false
343
343
  })
344
- }, error => {
345
- // getConfigByName 错误回调
346
- console.error('配置获取失败', error)
347
- this.loading = false
348
- reject(error)
349
344
  })
350
345
  })
351
346
  },