vue2-client 1.10.2 → 1.10.5

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.10.2",
3
+ "version": "1.10.5",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve --no-eslint",
@@ -5,7 +5,7 @@
5
5
  :title="resolvedTitle? resolvedTitle : businessTitle"
6
6
  :visible="visible"
7
7
  :width="`${xAddFormLayoutWidth}vw`"
8
- :zIndex="101"
8
+ :zIndex="1001"
9
9
  okText="提交"
10
10
  @cancel="close"
11
11
  @ok="$refs.nativeForm.onSubmit()">
@@ -911,7 +911,7 @@ export default {
911
911
  addOrModify(requestParameters, this.serviceName, this.env === 'dev').then(data => {
912
912
  this.$message.success(this.businessType + '成功!')
913
913
  // commit
914
- this.$emit('afterSubmit', { type: this.businessType, id: data.id, form: requestParameters.form })
914
+ this.$emit('afterSubmit', { type: this.businessType, id: data.id, data: data, form: requestParameters.form })
915
915
  this.loading = false
916
916
  if (callback) {
917
917
  callback()
@@ -67,12 +67,12 @@ export default {
67
67
  const columnsCount = 24 / realFlex
68
68
  // 2. 计算基准列宽
69
69
  const baseColumnWidth = (this.parentWidth / columnsCount) - ((columnsCount - 1) * 16)
70
- console.log('调试信息:', {
71
- parentWidth: this.parentWidth,
72
- computedFlex: realFlex,
73
- columnsCount,
74
- baseColumnWidth,
75
- })
70
+ // console.log('调试信息:', {
71
+ // parentWidth: this.parentWidth,
72
+ // computedFlex: realFlex,
73
+ // columnsCount,
74
+ // baseColumnWidth,
75
+ // })
76
76
  // 3. 计算label宽度
77
77
  const labelWidth = Math.max(baseColumnWidth / 3, 80)
78
78
  return {