zk 2 年之前
父节点
当前提交
9d0facca55
共有 3 个文件被更改,包括 3 次插入2 次删除
  1. 1 1
      web/.env.production
  2. 1 0
      web/src/store/module/user.js
  3. 1 1
      web/src/view/assignment/assignment.vue

+ 1 - 1
web/.env.production

@@ -4,4 +4,4 @@ VITE_CLI_PORT = 8081
 VITE_SERVER_PORT = 443
 VITE_BASE_API = /api
 #下方修改为你的线上ip
-VITE_BASE_PATH = https://cc.zjkduoduo.com
+VITE_BASE_PATH = https://qdcc.zjkduoduo.com

+ 1 - 0
web/src/store/module/user.js

@@ -78,6 +78,7 @@ export const user = {
         // if (redirect) {
         //     router.push({ path: redirect })
         // } else {
+
         router.push({ name: getters['userInfo'].authority.defaultRouter })
         // }
         return true

+ 1 - 1
web/src/view/assignment/assignment.vue

@@ -93,7 +93,7 @@
           <el-input v-model="formData.title" clearable placeholder="请输入" />
         </el-form-item>
         <el-form-item label="内容:">
-          <el-input v-model="formData.text" clearable placeholder="请输入" />
+          <el-input v-model="formData.text" :rows="4" type="textarea" clearable placeholder="请输入" />
         </el-form-item>
       </el-form>
       <template #footer>