Home> Web Front-end> uni-app> body text

Solve the problem of UniAPP horizontal screen style disorder

藏色散人
Release: 2023-01-13 00:44:36
Original
5545 people have browsed it

Solution to UniAPP horizontal screen style disorder: First open the corresponding code file; then find the "plus.screen.lockOrientation('portrait-primary');" code and comment it out.

Solve the problem of UniAPP horizontal screen style disorder

The operating environment of this tutorial: windows7 system, uni-app2.5.1 version, DELL G3 computer.

The solution to the confusing interface of uni-app after the mobile phone is horizontally screened

In plus.screen.lockOrientation('portrait-primary');//Lock

# Recommended: "uniapp tutorial"##

The above is the detailed content of Solve the problem of UniAPP horizontal screen style disorder. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!