| | |
| | | import com.ruoyi.system.service.ISysConfigService;
|
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | |
|
| | | import javax.annotation.PostConstruct;
|
| | | import java.util.Collection;
|
| | | import java.util.List;
|
| | |
| | | import org.springframework.beans.factory.annotation.Autowired;
|
| | | import org.springframework.stereotype.Service;
|
| | | import org.springframework.transaction.annotation.Transactional;
|
| | |
|
| | | import javax.annotation.PostConstruct;
|
| | | import java.util.List;
|
| | |
|
| | |
| | | {
|
| | | path: 'index',
|
| | | component: (resolve) => require(['@/views/index'], resolve),
|
| | | name: '首页',
|
| | | meta: { title: '首页', icon: 'dashboard', noCache: true, affix: true }
|
| | | name: 'Index',
|
| | | meta: { title: '首页', icon: 'dashboard', affix: true }
|
| | | }
|
| | | ]
|
| | | },
|
| | |
| | | location.href = '/index'; |
| | | }) |
| | | }).catch(() => {}); |
| | | return Promise.reject() |
| | | return Promise.reject('令牌验证失败') |
| | | } else if (code === 500) { |
| | | Message({ |
| | | message: msg, |
| | |
| | |
|
| | | <script>
|
| | | export default {
|
| | | name: "index",
|
| | | name: "Index",
|
| | | data() {
|
| | | return {
|
| | | // 版本号
|
| | |
| | | props: {
|
| | | // 角色编号
|
| | | roleId: {
|
| | | type: String
|
| | | type: [Number, String]
|
| | | }
|
| | | },
|
| | | data() {
|