lw-cdp-ui 1.0.50 → 1.0.51
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/dist/components/lwForm/index.vue +2 -0
- package/dist/components/lwLayout/index.vue +6 -2
- package/dist/lw-cdp-ui.esm.js +200 -253
- package/dist/lw-cdp-ui.esm.js.map +1 -1
- package/dist/lw-cdp-ui.umd.js +7 -7
- package/dist/lw-cdp-ui.umd.js.map +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -3
- package/dist/components/lwEditor/index.vue +0 -61
|
@@ -106,6 +106,7 @@
|
|
|
106
106
|
default-first-option
|
|
107
107
|
:placeholder="item.options?.placeholder || ''"
|
|
108
108
|
:clearable="item.options?.clearable"
|
|
109
|
+
:disabled="item.options.disabled"
|
|
109
110
|
filterable
|
|
110
111
|
style="width: 100%;">
|
|
111
112
|
<el-option v-for="option in item.options.items"
|
|
@@ -121,6 +122,7 @@
|
|
|
121
122
|
default-first-option
|
|
122
123
|
:placeholder="item.options?.placeholder || ''"
|
|
123
124
|
:clearable="item.options?.clearable"
|
|
125
|
+
:disabled="item.options.disabled"
|
|
124
126
|
filterable
|
|
125
127
|
style="width: 100%;">
|
|
126
128
|
<el-option v-for="option in item.options.items"
|
|
@@ -332,12 +332,16 @@ export default {
|
|
|
332
332
|
this.menu = this.filterUrl(menu);
|
|
333
333
|
this.showThis()
|
|
334
334
|
this.$store.commit("LOAD_USER_FROM_LOCAL_STORAGE")
|
|
335
|
+
|
|
336
|
+
// 挂载菜单订阅
|
|
337
|
+
this.$bus.$on('setMenu', (menu) => {
|
|
338
|
+
this.menu = this.filterUrl(menu)
|
|
339
|
+
console.log(this.menu)
|
|
340
|
+
})
|
|
335
341
|
},
|
|
336
342
|
watch: {
|
|
337
343
|
async $route() {
|
|
338
344
|
this.showThis()
|
|
339
|
-
var menu = this.$router.sc_getMenu();
|
|
340
|
-
this.menu = this.filterUrl(menu);
|
|
341
345
|
},
|
|
342
346
|
'$i18n.locale'() {
|
|
343
347
|
var menu = this.$router.sc_getMenu();
|