@@ -114,7 +114,7 @@
function redirectTo() {
const { to } = props.moduleData;
if (!to) return;
- openWindow(to);
+ openWindow(to, { target: '_self' });
}
watch(
@@ -73,7 +73,7 @@
- openWindow(getFormattedText(selectedData.value, to));
+ openWindow(getFormattedText(selectedData.value, to), { target: '_self' });
</script>
<style lang="less" scoped>
@@ -67,6 +67,6 @@
@@ -97,7 +97,7 @@
// 监听数据变化,初始化
@@ -59,6 +59,6 @@