Quellcode durchsuchen

修改多个文件上传

306132416@qq.com vor 4 Jahren
Ursprung
Commit
45a64e5893
3 geänderte Dateien mit 1 neuen und 10 gelöschten Zeilen
  1. 0 2
      src/App.vue
  2. 0 2
      src/main.js
  3. 1 6
      src/views/account/AccountIndex.vue

+ 0 - 2
src/App.vue

@@ -15,7 +15,6 @@
       </div>
     </div>
     <FooterBanner/>
-    <notifications></notifications>
   </div>
 </template>
 
@@ -91,7 +90,6 @@ export default {
   }
 };
 </script>
-<style src="../node_modules/vue-notifyjs/themes/default.css"></style>
 <style lang="less">
 * {
   padding: 0;

+ 0 - 2
src/main.js

@@ -2,10 +2,8 @@ import Vue from 'vue'
 import App from './App.vue'
 import router from './router'
 import axiosApi from './request/api'
-import Notify from 'vue-notifyjs'
 Vue.config.productionTip = false
 Vue.prototype.$http = axiosApi
-Vue.use(Notify)
 new Vue({
   router,
   render: h => h(App)

+ 1 - 6
src/views/account/AccountIndex.vue

@@ -164,12 +164,7 @@ export default {
       }).then((res) => {
           if(res.data.code === 200) {
             this.getDateList = res.data.data;
-            this.$notify({
-              message:"成功",
-              type: "success",
-              horizontalAlign:'center',
-              showClose:false
-              });
+           // alert('success!')
           }else {
             console.log('message', res.data.message);
           }