@zhangqingcq/vgce 0.1.28 → 0.1.29
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/style.css +1 -1
- package/dist/vgce.js +7 -2
- package/dist/vgce.umd.cjs +1 -1
- package/package.json +1 -1
- package/src/components/svg-editor/index.vue +8 -0
package/package.json
CHANGED
@@ -142,6 +142,14 @@
|
|
142
142
|
|
143
143
|
onMounted(() => {
|
144
144
|
configStore.net.mqtt.useGlobalMqtt = Boolean(props.mqtt?.cover)
|
145
|
+
if (!configStore.net.mqtt.global) {
|
146
|
+
configStore.net.mqtt.global = {
|
147
|
+
url: '',
|
148
|
+
user: '',
|
149
|
+
pwd: '',
|
150
|
+
topics: ''
|
151
|
+
}
|
152
|
+
}
|
145
153
|
configStore.net.mqtt.global.url = props.mqtt?.url || ''
|
146
154
|
configStore.net.mqtt.global.user = props.mqtt?.user || ''
|
147
155
|
configStore.net.mqtt.global.pwd = props.mqtt?.pwd || ''
|