diff --git a/public/images/home/home-view/comprehensive-active.png b/public/images/home/home-view/comprehensive-active.png index 94aedaed..40fed6eb 100644 Binary files a/public/images/home/home-view/comprehensive-active.png and b/public/images/home/home-view/comprehensive-active.png differ diff --git a/public/images/home/home-view/comprehensive.png b/public/images/home/home-view/comprehensive.png index 5f5ee1f9..f43dcf56 100644 Binary files a/public/images/home/home-view/comprehensive.png and b/public/images/home/home-view/comprehensive.png differ diff --git a/src/views/Northbound/DuerOS/Detail/command/index.vue b/src/views/Northbound/DuerOS/Detail/command/index.vue index 87b86321..0fda44f2 100644 --- a/src/views/Northbound/DuerOS/Detail/command/index.vue +++ b/src/views/Northbound/DuerOS/Detail/command/index.vue @@ -202,13 +202,15 @@ const modelRef = reactive({ const property = ref({}); -const onPropertyChange = (val: string) => { +const onPropertyChange = (val: string, flag?: boolean) => { if (val) { const _item = props.metadata?.properties.find( (item: any) => item.id === val, ); property.value = _item || {}; - modelRef.message.value = undefined + if(!flag){ + modelRef.message.value = undefined + } } }; @@ -227,7 +229,7 @@ watch( if (newVal) { Object.assign(modelRef, newVal); if (newVal?.message?.properties) { - onPropertyChange(newVal?.message?.properties); + onPropertyChange(newVal?.message?.properties, true); } } }, @@ -263,6 +265,7 @@ const saveBtn = () => resolve(false); }); } + console.log(_data) emit('update:modelValue', _data) resolve(_data); }) diff --git a/src/views/Northbound/DuerOS/Detail/doc.vue b/src/views/Northbound/DuerOS/Detail/doc.vue index 92624782..373dbc83 100644 --- a/src/views/Northbound/DuerOS/Detail/doc.vue +++ b/src/views/Northbound/DuerOS/Detail/doc.vue @@ -75,6 +75,7 @@ import { getImage } from '@/utils/comm'; padding: 8px 16px; color: #2f54eb; background-color: rgba(#a7bdf7, 0.2); + word-wrap: break-word; } h1 { diff --git a/src/views/Northbound/DuerOS/index.vue b/src/views/Northbound/DuerOS/index.vue index dbcbff1b..8bf2ce8c 100644 --- a/src/views/Northbound/DuerOS/index.vue +++ b/src/views/Northbound/DuerOS/index.vue @@ -163,6 +163,7 @@ const columns = [ title: '名称', dataIndex: 'name', key: 'name', + ellipsis: true, search: { type: 'string', }, @@ -229,7 +230,7 @@ const columns = [ title: '操作', key: 'action', fixed: 'right', - width: 160, + width: 180, scopedSlots: true, }, ]; diff --git a/src/views/account/Center/components/Subscribe/components/Bind.vue b/src/views/account/Center/components/Subscribe/components/Bind.vue index 09e936be..c1f165e0 100644 --- a/src/views/account/Center/components/Subscribe/components/Bind.vue +++ b/src/views/account/Center/components/Subscribe/components/Bind.vue @@ -25,7 +25,6 @@ :src="url" v-if="!loading" > - @@ -105,7 +104,6 @@ const updateIframeStyle = () => { ) as HTMLIFrameElement; iframe.onload = () => { const currentUrl = iframe?.contentWindow?.location?.search || ''; - console.log(currentUrl) let authCode = ''; if (currentUrl.startsWith('?')) { currentUrl diff --git a/src/views/account/Center/components/Subscribe/components/Card.vue b/src/views/account/Center/components/Subscribe/components/Card.vue new file mode 100644 index 00000000..5c92ba79 --- /dev/null +++ b/src/views/account/Center/components/Subscribe/components/Card.vue @@ -0,0 +1,129 @@ + + + + + \ No newline at end of file diff --git a/src/views/account/Center/components/Subscribe/components/Detail.vue b/src/views/account/Center/components/Subscribe/components/Detail.vue index fa609948..1f36280f 100644 --- a/src/views/account/Center/components/Subscribe/components/Detail.vue +++ b/src/views/account/Center/components/Subscribe/components/Detail.vue @@ -1,16 +1,16 @@