mirror of
https://github.com/ialley-workshop-open/uni-halo.git
synced 2026-06-11 12:49:30 +08:00
feat: 新增首页轮播支持配置
This commit is contained in:
@@ -14,8 +14,10 @@ export default {
|
||||
},
|
||||
onLoad(e) {
|
||||
const {title, url} = JSON.parse(e.query.data);
|
||||
this.webUrl = url;
|
||||
this.fnSetPageTitle(title);
|
||||
this.webUrl = decodeURIComponent(url);
|
||||
if (title) {
|
||||
this.fnSetPageTitle(title);
|
||||
}
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user