|
@@ -187,21 +187,20 @@
|
|
document.querySelector('.uni-page-head-hd').style.display = 'none'
|
|
document.querySelector('.uni-page-head-hd').style.display = 'none'
|
|
},
|
|
},
|
|
|
|
|
|
- beforeCreate: function() {
|
|
|
|
- },
|
|
|
|
|
|
+ beforeCreate: function() {},
|
|
|
|
|
|
|
|
|
|
onLoad: function(option) {
|
|
onLoad: function(option) {
|
|
-
|
|
|
|
- if (option.op) {
|
|
|
|
- this.getData();
|
|
|
|
-
|
|
|
|
- } else {
|
|
|
|
- this.init()
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
-
|
|
|
|
- // this.getData();
|
|
|
|
|
|
+
|
|
|
|
+ // if (option.op) {
|
|
|
|
+ // this.getData();
|
|
|
|
+
|
|
|
|
+ // } else {
|
|
|
|
+ // this.init()
|
|
|
|
+ // }
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+ this.getData();
|
|
|
|
|
|
this.hackReset = false;
|
|
this.hackReset = false;
|
|
this.$nextTick(() => {
|
|
this.$nextTick(() => {
|
|
@@ -211,9 +210,9 @@
|
|
|
|
|
|
methods: {
|
|
methods: {
|
|
|
|
|
|
-
|
|
|
|
|
|
+
|
|
async init() {
|
|
async init() {
|
|
- window.location.href = this.$BASE_URL+"Com/getPageAuthorization1"
|
|
|
|
|
|
+ window.location.href = this.$BASE_URL + "Com/getPageAuthorization1"
|
|
},
|
|
},
|
|
// end
|
|
// end
|
|
|
|
|
|
@@ -293,8 +292,6 @@
|
|
window.addEventListener('popstate', function() {
|
|
window.addEventListener('popstate', function() {
|
|
// alert('点击返回按钮了!')
|
|
// alert('点击返回按钮了!')
|
|
});
|
|
});
|
|
-
|
|
|
|
-
|
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
<style lang="scss">
|
|
<style lang="scss">
|