fix(cli): set document title

This commit is contained in:
chenjiahan 2020-09-19 06:55:46 +08:00
parent d23085a621
commit f964790b3e

View File

@ -71,11 +71,15 @@ export default {
setLang(val);
this.setTitle();
},
},
created() {
// TODO
// this.setTitle();
config: {
handler(val) {
if (val) {
this.setTitle();
}
},
immediate: true,
},
},
mounted() {