Update main.js
This commit is contained in:
parent
e6525eda45
commit
eb5faea2bb
|
@ -9,6 +9,8 @@ import Form from "../../../components/form/main"
|
||||||
import FormItem from "../../../components/form-item/main"
|
import FormItem from "../../../components/form-item/main"
|
||||||
import {uploadImg,handelResponse,addTheme,putMyTheme,putTheme} from "../../../assets/api.js"
|
import {uploadImg,handelResponse,addTheme,putMyTheme,putTheme} from "../../../assets/api.js"
|
||||||
import PreviewItem from "../template/preview.js"
|
import PreviewItem from "../template/preview.js"
|
||||||
|
var scale = window.screen.width / 1920 * 100;
|
||||||
|
document.write("<body style=zoom:" + scale + "%>");
|
||||||
export default class edittemplate extends React.Component{
|
export default class edittemplate extends React.Component{
|
||||||
constructor(props){
|
constructor(props){
|
||||||
super(props)
|
super(props)
|
||||||
|
|
Loading…
Reference in New Issue