vue2-client 1.8.63 → 1.8.65
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
:model="form"
|
|
7
7
|
:rules="rules"
|
|
8
8
|
layout="inline">
|
|
9
|
-
<a-row :gutter="
|
|
9
|
+
<a-row :gutter="24">
|
|
10
10
|
<x-form-item
|
|
11
11
|
v-for="(item, index) in realJsonData.slice(0,3)"
|
|
12
12
|
:key="index"
|
|
@@ -39,21 +39,18 @@
|
|
|
39
39
|
<span
|
|
40
40
|
:style="advanced && { float: 'right', overflow: 'hidden' } || {} "
|
|
41
41
|
class="table-page-search-submitButtons">
|
|
42
|
-
<a v-if="realJsonData.length > 3"
|
|
42
|
+
<a v-if="realJsonData.length > 3" @click="toggleAdvanced">
|
|
43
43
|
<span v-show="!advanced"><a-icon type="eye"/> 更多条件</span>
|
|
44
44
|
<span v-show="advanced"><a-icon type="eye-invisible"/> 收起更多</span>
|
|
45
45
|
</a>
|
|
46
46
|
<a-divider type="vertical"/>
|
|
47
47
|
<a-button
|
|
48
48
|
htmlType="submit"
|
|
49
|
-
style="margin-left: 8px"
|
|
50
49
|
type="primary"
|
|
51
50
|
@click="onSubmit">
|
|
52
51
|
<a-icon :style="iconStyle" type="search"/>查询
|
|
53
52
|
</a-button>
|
|
54
|
-
<a-button style="margin-left: 8px" @click="resetForm">
|
|
55
|
-
<a-icon :style="iconStyle" type="redo" />重置
|
|
56
|
-
</a-button>
|
|
53
|
+
<a-button style="margin-left: 8px" @click="resetForm">重置</a-button>
|
|
57
54
|
<slot></slot>
|
|
58
55
|
</span>
|
|
59
56
|
</a-col>
|
|
@@ -70,8 +67,7 @@ export default {
|
|
|
70
67
|
components: {
|
|
71
68
|
XFormItem
|
|
72
69
|
},
|
|
73
|
-
props: {
|
|
74
|
-
},
|
|
70
|
+
props: {},
|
|
75
71
|
data () {
|
|
76
72
|
return {
|
|
77
73
|
// 内容加载是否完成
|
|
@@ -20,7 +20,7 @@ function onSelect (keys, e) {
|
|
|
20
20
|
<a-directory-tree
|
|
21
21
|
:tree-data="props.treeData"
|
|
22
22
|
@select="onSelect"
|
|
23
|
-
:default-selected-keys="props.treeData.length > 0 ? props.treeData[0].key : null"
|
|
23
|
+
:default-selected-keys="props.treeData.length > 0 ? [props.treeData[0].key] : null"
|
|
24
24
|
:default-expand-all="true"
|
|
25
25
|
></a-directory-tree>
|
|
26
26
|
</div>
|
package/vue.config.js
CHANGED
|
@@ -33,12 +33,6 @@ module.exports = {
|
|
|
33
33
|
ws: false,
|
|
34
34
|
changeOrigin: true
|
|
35
35
|
},
|
|
36
|
-
'/api/af-system': {
|
|
37
|
-
// v3用
|
|
38
|
-
// pathRewrite: { '^/api/af-system/': '/rs/', '^/api/af-iot/': '/rs/' },
|
|
39
|
-
target: 'http://192.168.50.67:31467',
|
|
40
|
-
changeOrigin: true
|
|
41
|
-
},
|
|
42
36
|
'/api': {
|
|
43
37
|
// v3用
|
|
44
38
|
// pathRewrite: { '^/api/af-system/': '/rs/', '^/api/af-iot/': '/rs/' },
|