Skip to content

Commit

Permalink
chore: Remove prohibited cross-domain websites (#437)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErKeLost authored Mar 14, 2023
1 parent 2d0ba7e commit 677f363
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 14 deletions.
15 changes: 5 additions & 10 deletions docs/wujie/components/data.ts
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
export const wujieList = [
{
name: "UmiJS",
url: "https://umijs.org/",
name: "无极",
url: "https://wujicode.cn/xy/app/prod/official/index",
},
{
name: "TurboRepo",
url: "https://turborepo.org/docs/getting-started",
name: "UmiJS",
url: "https://umijs.org/",
},
{
name: "React",
url: "https://reactjs.org/",
url: "https://beta.reactjs.org/",
},
{
name: "Vercel",
Expand All @@ -27,11 +27,6 @@ export const wujieList = [
name: "AntDesign",
url: "https://ant.design/components/drawer-cn/",
},

{
name: "AntV",
url: "https://g2.antv.vision/zh",
},
{
name: "NaiveUI",
url: "https://www.naiveui.com/zh-CN/os-theme/components/button",
Expand Down
4 changes: 2 additions & 2 deletions docs/wujie/components/wujie-connect.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const props = defineProps<{
watch(
() => props.baseUrl,
(newValue) => {
url.value = newValue;
url.value = newValue!;
}
);
</script>
Expand All @@ -41,7 +41,7 @@ watch(
</form>
</div>
<p class="help">
您可以输入一个允许跨域访问的<span class="link">https</span>协议网站来在线体验<span class="link">无界</span>
您可以输入一个允许跨域访问的 <span class="link">https</span> 协议网站来在线体验 <span class="link">无界</span>
</p>
</div>
</section>
Expand Down
4 changes: 2 additions & 2 deletions docs/wujie/components/wujie-online.vue
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const wujieUrl = ref<string>("https://wujicode.cn/xy/app/prod/official/index");
watch(
() => props.flag,
(newValue) => {
wujieUrl.value = props.url;
() => {
wujieUrl.value = props.url!;
}
);
Expand Down

0 comments on commit 677f363

Please sign in to comment.