Skip to content

Commit

Permalink
feat: Update international address (#7685)
Browse files Browse the repository at this point in the history
  • Loading branch information
lan-yonghui authored Jan 10, 2025
1 parent aab8df6 commit 6f3c558
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 5 additions & 1 deletion frontend/src/components/license-import/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,11 @@ const handleExceed: UploadProps['onExceed'] = (files) => {
};
const toLxware = () => {
window.open('https://www.lxware.cn/1panel' + '', '_blank', 'noopener,noreferrer');
if (!globalStore.isIntl) {
window.open('https://www.lxware.cn/1panel' + '', '_blank', 'noopener,noreferrer');
} else {
window.open('https://1panel.hk/pricing' + '', '_blank', 'noopener,noreferrer');
}
};
const submit = async () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/system-upgrade/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const toLxware = () => {
if (!globalStore.isIntl) {
window.open('https://www.lxware.cn/1panel' + '', '_blank', 'noopener,noreferrer');
} else {
window.open('https://1panel.hk' + '', '_blank', 'noopener,noreferrer');
window.open('https://1panel.hk/pricing' + '', '_blank', 'noopener,noreferrer');
}
};
Expand Down
6 changes: 5 additions & 1 deletion frontend/src/views/setting/license/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,11 @@ const license = reactive({
});
const toLxware = () => {
window.open('https://www.lxware.cn/1panel' + '', '_blank', 'noopener,noreferrer');
if (!globalStore.isIntl) {
window.open('https://www.lxware.cn/1panel' + '', '_blank', 'noopener,noreferrer');
} else {
window.open('https://1panel.hk/pricing' + '', '_blank', 'noopener,noreferrer');
}
};
const loadInfo = () => {
Expand Down

0 comments on commit 6f3c558

Please sign in to comment.