sale-client 4.2.118 → 4.2.119
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -212,12 +212,7 @@ export default {
|
|
|
212
212
|
},
|
|
213
213
|
methods: {
|
|
214
214
|
permission (name) {
|
|
215
|
-
|
|
216
|
-
if (!this.$login.r.find(value => value == name)) {
|
|
217
|
-
return false
|
|
218
|
-
}
|
|
219
|
-
}
|
|
220
|
-
return true
|
|
215
|
+
return this.$login.r.includes(name)
|
|
221
216
|
},
|
|
222
217
|
async search () {
|
|
223
218
|
let http = new HttpResetClass()
|