diff --git a/src/views/course/components/addTypes.vue b/src/views/course/components/addTypes.vue index e1ffd56..d9b36ee 100644 --- a/src/views/course/components/addTypes.vue +++ b/src/views/course/components/addTypes.vue @@ -195,6 +195,19 @@ + @@ -233,6 +246,7 @@ show_mobile:'', auto_schoolmate:'', is_history:0, + is_count_genban:0, }, rules: { name: [{ @@ -278,6 +292,7 @@ this.form.show_mobile = res.show_mobile?res.show_mobile:(res.show_mobile==0?0:'') this.form.auto_schoolmate = res.auto_schoolmate?res.auto_schoolmate:(res.auto_schoolmate==0?0:'') this.form.is_history = res.is_history?res.is_history:0 + this.form.is_count_genban = res.is_count_genban?res.is_count_genban:0 }) }, @@ -310,6 +325,7 @@ show_mobile:'', auto_schoolmate:'', is_history:0, + is_count_genban:0, }, this.$refs['dialog'].reset() } diff --git a/vue.config.js b/vue.config.js index 29ac6d1..7ffc4f9 100644 --- a/vue.config.js +++ b/vue.config.js @@ -28,9 +28,9 @@ module.exports = { */ publicPath: process.env.ENV === 'staging' ? '/admin' : '/admin', // 测试 - outputDir: '/Users/mac/Documents/朗业/2025/s-苏州科技商学院/wx.sstbc.com/public/admin', + // outputDir: '/Users/mac/Documents/朗业/2025/s-苏州科技商学院/wx.sstbc.com/public/admin', // 正式 - // outputDir: '/Users/mac/Documents/朗业/2024/s-苏州科技商学院/wx.sstbc.com/public/admin', + outputDir: '/Users/mac/Documents/朗业/2024/s-苏州科技商学院/wx.sstbc.com/public/admin', assetsDir: 'static', css: { loaderOptions: { // 向 CSS 相关的 loader 传递选项