@xuekl/cli-components 1.1.9 → 1.2.1

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/XklDict.vue CHANGED
@@ -18,7 +18,7 @@ const dataList: Ref<{ dictCode: string, dictLabel: string, dictValue: string | n
18
18
 
19
19
  onBeforeMount(() => {
20
20
  http({
21
- url: http.adornUrl(`system/dict/data/type/${config.dict}`),
21
+ url: http.adornUrl(`/system/dict/data/type/${config.dict}`),
22
22
  method: 'get',
23
23
  params: http.adornParams({})
24
24
  }).then(({ data }) => {
package/XklForm.vue CHANGED
@@ -1,5 +1,9 @@
1
1
  <template>
2
2
  <el-form ref="XklFormRef" :model="form" :label-width="opts.labelWidth">
3
+ <div class="hide-input">
4
+ <input type="text" />
5
+ <input type="password" />
6
+ </div>
3
7
  <el-row>
4
8
  <template v-for="item in formList" :key="item.prop">
5
9
  <el-col :span="item.span" v-if="item.show()">
@@ -225,4 +229,9 @@ onMounted(() => {
225
229
  width: 100%;
226
230
  text-align: right;
227
231
  }
232
+
233
+ .hide-input {
234
+ position: absolute;
235
+ left: -5000px;
236
+ }
228
237
  </style>
package/XklTable.vue CHANGED
@@ -55,7 +55,7 @@ const XklTable = ref(null)
55
55
 
56
56
  dictTypes.forEach((dict: string) => {
57
57
  http({
58
- url: http.adornUrl(`system/dict/data/type/${dict}`),
58
+ url: http.adornUrl(`/system/dict/data/type/${dict}`),
59
59
  method: 'get',
60
60
  params: http.adornParams({})
61
61
  }).then(({ data }) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xuekl/cli-components",
3
- "version": "1.1.9",
3
+ "version": "1.2.1",
4
4
  "description": "",
5
5
  "main": "index.ts",
6
6
  "scripts": {