Browse Source

修改标签排序

liuxiaona 2 years ago
parent
commit
8940a5ccd2
1 changed files with 7 additions and 3 deletions
  1. 7 3
      project/src/components/manage/tagManage.vue

+ 7 - 3
project/src/components/manage/tagManage.vue

@@ -107,7 +107,7 @@ export default {
107 107
       }).then((res) => {
108 108
         var res = res.data
109 109
         if(res&&res.errno == 0){
110
-          this.init(1)
110
+          this.init('orderGroup')
111 111
           return
112 112
         }
113 113
         this.$message({
@@ -165,8 +165,12 @@ export default {
165 165
       this.input_keyword = ''
166 166
       this.init()
167 167
     },
168
-    init () {
169
-      this.loading = true
168
+    init (opa) {
169
+      if(opa=='orderGroup'){
170
+        this.loading = false
171
+      }else{
172
+        this.loading = true
173
+      }
170 174
       this.$axios.get(this.URL.BASEURL + this.URL.tagList, {
171 175
         params: {
172 176
           keyword: this.input_keyword