Commit dc5a897c authored by 姬鋆屾's avatar 姬鋆屾

tui

parent c4ea7af4
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width,initial-scale=1.0" /> <meta name="viewport" content="width=device-width,initial-scale=1.0" />
<link rel="icon" href="<%= BASE_URL %>favicon.ico" /> <link rel="icon" href="<%= BASE_URL %>favicon.ico" />
<title><%= VUE_APP_API_appName %></title> <title>智慧政务绩效管理系统</title>
<link <link
rel="stylesheet" rel="stylesheet"
href="https://unpkg.com/element-ui@2.15.5/lib/theme-chalk/index.css" href="https://unpkg.com/element-ui@2.15.5/lib/theme-chalk/index.css"
......
...@@ -24,15 +24,16 @@ export default { ...@@ -24,15 +24,16 @@ export default {
beforeCreate() { beforeCreate() {
Vue.prototype.$app = this; Vue.prototype.$app = this;
}, },
created() {}, created() {
},
methods: {}, methods: {},
}; };
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
#app { #app {
height:100vh; height: 100vh;
.loading { .loading {
display: flex; display: flex;
align-items: center; align-items: center;
......
...@@ -24,8 +24,9 @@ export default { ...@@ -24,8 +24,9 @@ export default {
this.$route.query.sysLogo this.$route.query.sysLogo
? localStorage.setItem("sysLogo", this.$route.query.sysLogo) ? localStorage.setItem("sysLogo", this.$route.query.sysLogo)
: ""; : "";
this.$route.query.sysName this.$route.query.sysName
? (process.env.VUE_APP_API_appName = this.$route.query.sysName) ? (document.title = this.$route.query.sysName)
: ""; : "";
/* this.form.loginName="admin" /* this.form.loginName="admin"
this.form.password="scsmile"*/ this.form.password="scsmile"*/
......
...@@ -58,9 +58,9 @@ export default { ...@@ -58,9 +58,9 @@ export default {
this.$route.query.sysName this.$route.query.sysName
? localStorage.setItem("sysName", this.$route.query.sysName) ? localStorage.setItem("sysName", this.$route.query.sysName)
: ""; : "";
process.env.VUE_APP_API_appName = localStorage.getItem("sysName") this.$route.query.sysName
? localStorage.getItem("sysName") ? (document.title = this.$route.query.sysName)
: process.env.VUE_APP_API_appName; : "";
localStorage.setItem("sysLogo", this.$route.query.sysLogo); localStorage.setItem("sysLogo", this.$route.query.sysLogo);
}, },
methods: { methods: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment