diff --git a/src/views/dashboard/Widget.vue b/src/views/dashboard/Widget.vue index 275f358f..59be4ca4 100644 --- a/src/views/dashboard/Widget.vue +++ b/src/views/dashboard/Widget.vue @@ -13,22 +13,34 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> @@ -58,6 +70,8 @@ limitations under the License. --> const source = ref({}); const loading = ref(false); const dashboardStore = useDashboardStore(); + const title = computed(() => encodeURIComponent((config.value.widget && config.value.widget.title) || "")); + const tips = computed(() => encodeURIComponent((config.value.widget && config.value.widget.tips) || "")); init(); async function init() { @@ -126,11 +140,20 @@ limitations under the License. --> source, appStoreWithOut, config, + title, + tips, }; }, });