Kaynağa Gözat

:fire: Removing code or files.remove transpileDependencies

lishangbu 6 yıl önce
ebeveyn
işleme
d01db411d1
6 değiştirilmiş dosya ile 0 ekleme ve 145 silme
  1. 0 1
      package.json
  2. 0 25
      src/api/qiniu.js
  3. 0 36
      src/const/crud/data.js
  4. 0 81
      src/const/crud/option.js
  5. 0 1
      src/main.js
  6. 0 1
      vue.config.js

+ 0 - 1
package.json

@@ -11,7 +11,6 @@
   },
   "dependencies": {
     "@smallwei/avue": "^1.5.0",
-    "avue-plugin-transfer": "^0.0.2",
     "axios": "^0.18.0",
     "babel-polyfill": "^6.26.0",
     "classlist-polyfill": "^1.2.0",

+ 0 - 25
src/api/qiniu.js

@@ -1,25 +0,0 @@
-/*
- *    Copyright (c) 2018-2025, lengleng All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the pig4cloud.com developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: lengleng (wangiegie@gmail.com)
- */
-
-import request from '@/router/axios'
-
-export function getToken () {
-  return request({
-    url: '/zuul/admin/user/upload', // 假地址,自行替换
-    method: 'post'
-  })
-}

+ 0 - 36
src/const/crud/data.js

@@ -1,36 +0,0 @@
-/*
- *    Copyright (c) 2018-2025, lengleng All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the pig4cloud.com developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: lengleng (wangiegie@gmail.com)
- */
-
-export const tableData = [{
-  username: 'lengleng',
-  name: 'lengleng',
-  number: 12,
-  type: '0',
-  stars: 'https://gitee.com/log4j/pig/badge/star.svg?theme=white',
-  git: 'https://gitee.com/log4j/pig',
-  address: 'https://gitee.com/log4j',
-  info: 'Pig是基于Spring Cloud、OAuth2.0,使用Vue前后分离的开发平台,支持账号、 短信、 SSO等多种登录。 '
-}, {
-  username: 'smallwei',
-  name: 'smallwei',
-  number: 20,
-  type: '1',
-  stars: 'https://gitee.com/smallweigit/avue/badge/star.svg?theme=white',
-  git: 'https://gitee.com/smallweigit/avue',
-  address: 'https://gitee.com/smallweigit',
-  info: 'Avue是一个后台集成解决方案,它基于 Vue.js 和 element。 使用了最新的前端技术栈,支持权限验证,第三方网站嵌套等功能。'
-}]

+ 0 - 81
src/const/crud/option.js

@@ -1,81 +0,0 @@
-/*
- *    Copyright (c) 2018-2025, lengleng All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions are met:
- *
- * Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
- * Redistributions in binary form must reproduce the above copyright
- * notice, this list of conditions and the following disclaimer in the
- * documentation and/or other materials provided with the distribution.
- * Neither the name of the pig4cloud.com developer nor the names of its
- * contributors may be used to endorse or promote products derived from
- * this software without specific prior written permission.
- * Author: lengleng (wangiegie@gmail.com)
- */
-
-export const tableOption = {
-  border: true,
-  index: true,
-  expand: true,
-  stripe: true,
-  selection: true,
-  page: false,
-  menuAlign: 'center',
-  defaultSort: {
-    prop: 'username',
-    order: 'descending'
-  },
-  align: 'center',
-  dic: [],
-  column: [{
-    label: '用户名',
-    prop: 'username',
-    span: 24,
-    solt: true,
-    sortable: true,
-    width: 120,
-    rules: [{
-      required: true,
-      message: '请输入用户名',
-      trigger: 'blur'
-    }]
-  }, {
-    label: '类型',
-    prop: 'type',
-    width: 80,
-    type: 'select',
-    sortable: true,
-    dicData: [{
-      label: '后端',
-      value: '0'
-    }, {
-      label: '前端',
-      value: '1'
-    }]
-  }, {
-    label: 'stars',
-    width: '150',
-    prop: 'stars',
-    sortable: true,
-    solt: true
-  }, {
-    label: '码云',
-    solt: true,
-    span: 24,
-    prop: 'address',
-    type: 'textarea',
-    overHidden: true
-  }, {
-    label: '项目介绍',
-    width: '300',
-    prop: 'info',
-    editDisabled: true,
-    type: 'textarea',
-    span: 24,
-    maxRow: 4,
-    minRow: 4,
-    overHidden: true
-  }]
-}

+ 0 - 1
src/main.js

@@ -7,7 +7,6 @@ import App from './App'
 import './permission' // 权限
 import './error' // 日志
 import router from './router/router'
-import 'avue-plugin-transfer/packages' // 引入avue-plugin-transfer插件
 import store from './store'
 import { loadStyle } from './util/util'
 import * as urls from '@/config/env'

+ 0 - 1
vue.config.js

@@ -19,7 +19,6 @@ module.exports = {
       .add('classlist-polyfill')
       .end()
   },
-  transpileDependencies: ['avue-plugin-transfer', 'avue-plugin-ueditor'],
   // 配置转发代理
   devServer: {
     proxy: {