Update main.js

This commit is contained in:
姜棚 2021-11-30 03:41:54 +08:00
parent e6525eda45
commit eb5faea2bb
1 changed files with 2 additions and 0 deletions

View File

@ -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)