mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-19 03:32:21 +08:00
fix(all): snapshot tests
This commit is contained in:
@ -32,7 +32,7 @@ let AppPreview = class AppPreview {
|
||||
}
|
||||
|
||||
render () {
|
||||
const url = `${this.demoUrl}?ionicplatform=${this.demoMode}`;
|
||||
const url = `${this.demoUrl}?ionic:mode=${this.demoMode}`;
|
||||
return [
|
||||
h("div", null,
|
||||
h("iframe", {src: url, ref: el => this.iframe = el, onLoad: this.onIframeLoad.bind(this)}))
|
||||
|
@ -112,7 +112,7 @@ export class AppPreview {
|
||||
}
|
||||
|
||||
render () {
|
||||
const url = `${this.demoUrl}?ionicplatform=${this.demoMode}`;
|
||||
const url = `${this.demoUrl}?ionic:mode=${this.demoMode}`;
|
||||
|
||||
return [
|
||||
<div>
|
||||
|
Reference in New Issue
Block a user