eslint; 收入合同

This commit is contained in:
zhaoxiao
2021-09-03 19:27:41 +08:00
parent c53de39b40
commit 303c1026f8
164 changed files with 5964 additions and 4788 deletions
+12 -12
View File
@@ -6,35 +6,35 @@
</a-config-provider>
</template>
<script>
import zhCN from "ant-design-vue/lib/locale-provider/zh_CN";
import enquireScreen from "@/utils/device";
import zhCN from 'ant-design-vue/lib/locale-provider/zh_CN'
import enquireScreen from '@/utils/device'
export default {
data() {
return {
locale: zhCN
};
}
},
created() {
let that = this;
let that = this
enquireScreen(deviceType => {
// tablet
if (deviceType === 0) {
that.$store.commit("TOGGLE_DEVICE", "mobile");
that.$store.dispatch("setSidebar", false);
that.$store.commit('TOGGLE_DEVICE', 'mobile')
that.$store.dispatch('setSidebar', false)
}
// mobile
else if (deviceType === 1) {
that.$store.commit("TOGGLE_DEVICE", "mobile");
that.$store.dispatch("setSidebar", false);
that.$store.commit('TOGGLE_DEVICE', 'mobile')
that.$store.dispatch('setSidebar', false)
} else {
that.$store.commit("TOGGLE_DEVICE", "desktop");
that.$store.dispatch("setSidebar", true);
that.$store.commit('TOGGLE_DEVICE', 'desktop')
that.$store.dispatch('setSidebar', true)
}
});
})
}
};
}
</script>
<style>
#app {